is_reference() ?
| From: | Björn Schotte | Date: | Wed, 21 Mar 2001 20:30:44 +0000 |
| Subject: | is_reference() ? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49679@lists.php.net to get a copy of this message | ||
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)) 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?
--
Björn Schotte bjoern@php.net
http://rent-a-phpwizard.de/
bjoern@baer.main.de
PHP Schulungen, Softwareentwicklung, Coaching