RE: [PHP-DEV] 5.0.5 RC2

From: Date: Fri, 26 Aug 2005 07:12:51 +0000
Subject: RE: [PHP-DEV] 5.0.5 RC2
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-18464@lists.php.net to get a copy of this message
On Fri, 26 Aug 2005, Sonke Ruempler wrote: > Hi Zeev, > > Zeev Suraski <mailto:zeev@zend.com> wrote on Thursday, > August 25, 2005 7:37 > PM: > > >> Fatal error: Only variables can be passed by reference in > >> /xxx/www/wiki/includes/SpecialSpecialpages.php on line 68<: > >> eeeeaeaeciaobsoeeeeee > > > > It appears to be due to a genuine fix for bug #31525. More of the > > same 'Only variables can be * by reference' that we're used to. > > Uhm, if it were a E_NOTICE - no problem. But this breaks PHP 5.0.x and > therefore many existing appliations (I assume mediawiki is one of the most > popular and famous of PHP applications). If this new 'fatal error' behaviour > gets into PHP 5.0.5, you'll have to warn the users that their applications > could break, because something like nested array function calls is IMHO very > common. It's just PHP prevent your memory from getting corrupted. If you prefer that to happen, patch PHP yourself for your local installation. Derick

« previous php.internals (#18464) next »