PHP 4.0 Bug #6239 Updated: object comparison w circular references leads to crash
| From: | sniper@php.net | Date: | Sat, 30 Dec 2000 17:04:15 +0000 |
| Subject: | PHP 4.0 Bug #6239 Updated: object comparison w circular references leads to crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42741@lists.php.net to get a copy of this message | ||
ID: 6239
Updated by: sniper
Reported By: waldschrott@php.net
Old-Status: Feedback
Status: Open
Bug Type: Reproduceable crash
Assigned To:
Comments:
And crashes with Linux too..
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-27 06:22:51] waldschrott@php.net
no, still crashes w latest cvs
---------------------------------------------------------------------------
[2000-11-27 05:25:07] sniper@php.net
Isn't this fixed already?
--Jani
---------------------------------------------------------------------------
[2000-08-18 17:01:17] stas@php.net
Confirmed on latest CVS. Will look into it.
---------------------------------------------------------------------------
[2000-08-18 11:44:10] waldschrott@php.net
got another one ;)
of course this example is *extremely* different from my
example and I don´t know how we could handle circular
references in ordered and unordered comparisions with ease,
but *it should not crash* (taken from zeev) although it´d
expect it to... :)
$obj->a='1';
$obj->b='2';
$obj2->b='2';
$obj2->a='1';
$obj2->c=&$obj;
$obj->c=&$obj2;
echo $obj==$obj2;
echo $obj===$obj2;
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6239