Am 14.09.2005 um 14:36 schrieb Derick Rethans:

Since we can detect a ref to a temp var at call time now, how about
making a local copy in the function and effectively treat it as a
by-value arg and also issue an E_NOTICE or an E_STRICT?  I think that
would solve the corruption problem without breaking BC.


That's exactly what we do in 4.4.

array_pop(explode('.', $name))); raises Fatal Error in PHP 4.4.0 on FreeBSD => App broken.

A.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to