Zeev Suraski <zeev <at> zend.com> writes:

> The correct solution, I think, would be adding a boolean function (or even 
> just a bit) to the handlers structure, that instructs the engine whether it 
> should use get_ptr_ptr for incdec or not, since it's an 
> optimization.  Maybe we can just check whether we're dealing with PHP 
> objects and perform this optimization only then.  I need to look into it.
> 
> Zeev
> 


I just wanted to point you to bug http://bugs.php.net/bug.php?id=28444 which
would get fixed with this patch as well, so only fixing this for post/incdec is
probably a bad idea :)

I think this should be targeted to be fixed for the 5.0 release because i ran
across this behaviour very quick after using __get & __set and it could produce
a _bit_ confusion

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to