On 12.05.2006 03:05, D. Dante Lorenso wrote:
Antony Dovgal wrote:
On 12.05.2006 02:49, D. Dante Lorenso wrote:
* #define ZEND_SEND_BY_REF 1
This one is what you need.
I don't think it is. The variable did not exist before the function was
called and should STILL not exist afterwards. I believe when you pass
by reference, the variable will exist after the call.
Only if you created it during the call.
<?php
function foo(&$arg) {
}
foo($nonex);
var_dump(isset($nonex));
?>
bool(false)
This is bad since
future calls to 'isset' will suddenly start returning TRUE when they
shouldn't.
--
Wbr,
Antony Dovgal
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php