Bug #15232: Need a possibility to compare two references

From: Date: Sat, 26 Jan 2002 11:18:25 +0000
Subject: Bug #15232: Need a possibility to compare two references
Groups: php.dev 
Request: Send a blank email to php-dev+get-78178@lists.php.net to get a copy of this message
From: flying@dom.natm.ru Operating system: All PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Need a possibility to compare two references PHP have no possiblity to find, if two references points to the same actual variable, but sometimes it is necesary. Short example: $a = 5; $b = 5; $a_ref1 = &$a; $a_ref2 = &$a; $b_ref = &$b; PHP needs a function (or operator) which will return TRUE, when comparing $a_ref1 and $a_ref2, but FALSE, if comparing $a_ref1 and $b_ref. -- Edit bug report at: http://bugs.php.net/?id=15232&edit=1

« previous php.dev (#78178) next »