Re: BC break with callbacks in 5.3

From: Date: Wed, 30 Jan 2008 15:18:07 +0000
Subject: Re: BC break with callbacks in 5.3
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-35029@lists.php.net to get a copy of this message
On 30.01.2008 18:06, Marcus Boerger wrote: > Hello Scott, > > actually it was a bug. We, sorry I, did not spot this in earlier versions. > Now saying you rely on a bug in PHP 5 to be able to execute PHP 4 code > simply does not work. I believe the bug was to make non-static methods to behave differently depending on the way you call them. If calling class::method() directly produces E_STRICT notice, then calling call::method() as a callback should do the same. -- Wbr, Antony Dovgal

« previous php.internals (#35029) next »