PHP 4.0 Bug #6239 Updated: object comparison w circular references leads to crash

From: Date: Mon, 27 Nov 2000 10:25:07 +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-39208@lists.php.net to get a copy of this message
ID: 6239 Updated by: sniper Reported By: waldschrott@php.net Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: Isn't this fixed already? --Jani Previous Comments: --------------------------------------------------------------------------- [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

« previous php.dev (#39208) next »