http://phplens.com/phpeverywhere/?q=node/view/205
We slightly broke BC for PHP 5 in order to get the reference stuff
resolved. Now I remember (senile me) one of the reasons we didn't apply
this fix to PHP 4.
I suggest to hold the PHP 4.4 release until we see if/what can be done
regarding the BC break. The problem is that this change was made, because
we had to fix behavior which wasn't supposed to work in the first place and
led to corruption.
Andi
http://phplens.com/phpeverywhere/?q=node/view/205
We slightly broke BC for PHP 5 in order to get the reference stuff resolved.
Now I remember (senile me) one of the reasons we didn't apply this fix to PHP
Hmm, this never worked...so we're not breaking any BC. See bug #20953.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
I don't have time until Momday to run 4.3 and 4.4 with that code (bug #20953)
Besides the warning will the result (even if bogus) be the same for both
versions?
At 07:41 PM 6/18/2005 +0200, Derick Rethans wrote:
http://phplens.com/phpeverywhere/?q=node/view/205
We slightly broke BC for PHP 5 in order to get the reference stuff
resolved.
Now I remember (senile me) one of the reasons we didn't apply this fix
to PHP
Hmm, this never worked...so we're not breaking any BC. See bug #20953.
regards,
Derick--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
I don't have time until Momday to run 4.3 and 4.4 with that code (bug #20953)
Besides the warning will the result (even if bogus) be the same for both
versions?
Yes:
derick@tequila:/dat/dev/php$ php-4.3.11/sapi/cli/php -derror_reporting=2047 /tmp/bug20953.php
Array
(
[a] => 1
[c] => 3
)
derick@tequila:/dat/dev/php$ php-4.4dev/sapi/cli/php -derror_reporting=2047 /tmp/bug20953.php
Notice: Only variable references should be returned by reference in /tmp/bug20953.php on line 2
Array
(
[a] => 1
[c] => 3
)
regards,
Derick
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org