Mantis - Quercus
Viewing Issue Advanced Details
2887 block always 09-01-08 02:41 09-09-08 10:56
PeterJanRoes  
nam  
normal  
closed 3.1.6  
fixed  
none    
none 3.2.1  
0002887: Dynamic members do not work properly
The provided code sample shows a problem with applying dynamic members (by __set() and __get() methods). It seems that in a certain case, highlighted by the code sample, a value evaluated by __get() is incorrect.

The value of __get() is either incorrectly evaluated to null or, more probably, the correct value is lost (and reset to null) before passing it on to a function. Please note that the value is incorrect only in case it is passed on to a method of an object. When instead the value is passed on to an ordinary function the value is correct.

 TestGetSet.php [^] (1,263 bytes) 09-01-08 02:41

Notes
(0003412)
nam   
09-09-08 10:56   
php/09kk
php/39kk