ID: 31449 Updated by: [EMAIL PROTECTED] Reported By: marcus at lastcraft dot com -Status: Open +Status: Feedback Bug Type: Class/Object related Operating System: Linux PHP Version: 5.0.1 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-01-08 05:31:19] marcus at lastcraft dot com Description: ------------ Hi... The script below causes a fatal error. This is just the simplest example I could find of a whole class of these problems. Makes comparing any object problematical. yours, Marcus Reproduce code: --------------- <?php class Recursive { private $me; function __construct() { $this->me = $this; } } new Recursive() != new Recursive(); ?> Expected result: ---------------- Nothing as the comparison is not output. Actual result: -------------- Fatal error with nesting too deep. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31449&edit=1