| Anonymous | Login | Signup for a new account | 10-23-2025 22:48 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0002873 | [Quercus] | major | always | 08-27-08 01:43 | 08-28-08 19:38 | ||||
| Reporter | nbzx | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 3.2.0 | ||||||
| Summary | 0002873: $this->x does not trigger __get and trigger __set twice | ||||||||
| Description |
<?php class Test { public function __get($name) { echo 'get ' . $name; } public function __set($name, $value){ echo 'set ' . $name . '=' . $value . " \n"; } function test(){ echo $this->x; $this->x = 'xxx'; } } $test = new Test(); $test->test(); ?> output: ----------------- set x=xxx set x=xxx |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |