Re: Reference handling change and PHP 4.4.0

From: Date: Wed, 14 Sep 2005 22:26:59 +0000
Subject: Re: Reference handling change and PHP 4.4.0
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-18938@lists.php.net to get a copy of this message
Derick Rethans wrote:
We found this out the hard way yesterday when our server administrator upgraded our production server to PHP 4.4.0 (even though the Debian package description said it was a PHP 4.3.x release). We ended up with hundreds of errors and many, many vhosts stopped working correctly due to "variable references should be returned by reference" problems, both in my code and in third-party code, such as PHPBB instances.
Uhm, they're only notices - they shouldn't show up at the website in production, now should they?
Derick, can you show me where I said that they showed up on the website?
And now I read that this will not be "fixed" in future PHP4 releases due to breaking backwards compatibility? I just don't understand... a change that breaks backwards compatibility in a large portion of the existing PHP4 code base will not be fixed because it breaks backwards compatibility? It's doing my head in, please can someone explain?
PHP 4 is not going to change the behavior anymore.
Sorry, but that doesn't really answer my question. Regards, Colin.

« previous php.internals (#18938) next »