Anonymous | Login | Signup for a new account | 12-17-2024 11:51 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.2.1 | Product Version | 3.2.0 | ||||
Product Build | |||||||||
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 | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |