Re: is_reference() ?

From: Date: Wed, 21 Mar 2001 20:36:36 +0000
Subject: Re: is_reference() ?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-49683@lists.php.net to get a copy of this message
At 22:30 21/3/2001, Björn Schotte wrote:
Hi, I recently had a discussion with Alexander Aulbach (submitter of bug reports with unset() and the inconsistencies with unset($foo) and unset($bar["bla"]) (the latter works, the former not))
Huh? Both work...?
and we agreed that there definitively would be need of a funtion called is_reference(varname) Sometimes we would like to know if $foo is a references variable or not (e.g. to ship around the unset() bug issue). What do you think?
This has been discussed before (as far as I recall). The engine may convert certain variables to be references on the fly, without the user requesting it. So, is_reference() won't mean much to end users. Zeev

« previous php.dev (#49683) next »