Scope propagation bug in call_user_func()
11/08/2010
In the previous entry about the scope propagation when call_user_func() is used for static calls few examples were given. They all work correctly in php 5.3 (while some don’t in php 5.2 and this was the BC change). But we have found a case when the scope is not propagated even in PHP 5.3: This yields the incorrect result of: A $this is not defined $this is not defined This means that the scope...
Continue reading...