or call +359 (2) 421 95 89

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...

Tags: Bugs PHP 5.3

Continue reading...

Powered by Guzaba | AzonMedia is the trading name of Web Studio Ltd.