note 48186 deleted from language.references.whatdo by colder
| From: | colder@php.net | Date: | Sat, 24 Feb 2007 11:47:23 +0000 |
| Subject: | note 48186 deleted from language.references.whatdo by colder | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-123824@lists.php.net to get a copy of this message | ||
Note Submitter: x123 ät bestof däsh inter döt net
----
It might be worth to note that a reference can be created to an unexisting variable, the reference
is then "undefined" (NOT isset()) but when the other variable is created, the reference
also gets "isset":
<?= phpversion(),
aa, isset($gg), bb, $a=&$GLOBALS[gg], isset($gg),cc,
isset($a),dd, $gg=ee, isset($gg),ff, isset($a),hh, $a
?>
prints
4.2.0RC2aabbccddee1ff1hhee
As I did not find anything about this "feature" in the doc, maybe better don't rely
on it.
(but where the heck is this "undefined" reference living while it is not set ?)