Re: is_reference() ?
| From: | Stanislav Malyshev | Date: | Thu, 22 Mar 2001 10:03:39 +0000 |
| Subject: | Re: is_reference() ? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-49720@lists.php.net to get a copy of this message | ||
AL>> what *could* make sense for debugging is a function like
AL>> are_identical($foo,$foo2) which compares if they both belong to the same
The immediate problem is that if you do $a = $b, in most cases
are_identical($a, $b) would return true. And then, in some point of time,
it might stop doing this, though you apparently did nothing to "a" and
"b".
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115