| 
		Viewing Issue Advanced Details
		
		[ Jump to Notes ]
		
		 | 
	
	
	
	
		
				[ View Simple ]
	
			
		[ Issue History ]
	
		
		[ Print ]
	 | 
	| 
		ID	 | 
	
		Category	 | 
	
		Severity	 | 
	
		Reproducibility	 | 
	
		Date Submitted	 | 
	
		Last Update	 | 
	
	| 
		0002887	 | 
	
	
		[Quercus] 	 | 
	
	
		block	 | 
	
	
		always	 | 
	
	
		09-01-08 02:41	 | 
	
	
		09-09-08 10:56	 | 
	 | 
	
	| 
		Reporter	 | 
	
		PeterJanRoes	 | 
	
	
		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.1.6	 | 
		
	
	|   | 
	
	
		Product Build	 | 
	
			 | 
	 | 
	| 
		Summary	 | 
	
		0002887: Dynamic members do not work properly	 | 
	| 
		Description	 | 
	
		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. 
 
	 | 
	| 
		Steps To Reproduce	 | 
	
			 | 
	| 
		Additional Information	 | 
	
			 | 
	 | 
	| 
		
		Attached Files	 | 
	
		  TestGetSet.php [^] (1,263 bytes) 09-01-08 02:41	 | 
	| 
	 |