|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 2873 | major | always | 08-27-08 01:43 | 08-28-08 19:38 | |
|
|
|||||
| Reporter: | nbzx | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.2.0 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.2.1 | ||
|
|
|||||
| 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 |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||