note 10182 added to Comparison Operators
| From: | brichardson at lineone dot net | Date: | Mon, 18 Dec 2000 00:29:20 +0000 |
| Subject: | note 10182 added to Comparison Operators | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8827@lists.php.net to get a copy of this message | ||
Is there any way to use comparison operators to test if two variables reference the same thing?
i.e.
$a = "something";
$b =& $a;
if ($a ==& b) { do something }
http://www.php.net/manual/language.operators.comparison.php