ID: 31449 Comment by: nospam at nospam dot com Reported By: marcus at lastcraft dot com Status: No Feedback Bug Type: Class/Object related Operating System: Linux PHP Version: 5.0.1 New Comment:
C:\downloads\php5.0-win32-latest>php -v PHP 5.0.4-dev (cli) (built: Jan 10 2005 10:20:12) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies C:\downloads\php5.0-win32-latest>php recursive.php Fatal error: Nesting level too deep - recursive dependency? in C:\downloads\php5 .0-win32-latest\recursive.php on line 10 C:\downloads\php5.0-win32-latest> Previous Comments: ------------------------------------------------------------------------ [2005-01-10 08:14:17] [EMAIL PROTECTED] If you don't want to test the latest version, we can't help. ------------------------------------------------------------------------ [2005-01-10 04:25:49] marcus at lastcraft dot com Hi... Well thanks for the standard response in an attempt to stall. I had enough trouble getting version 5.01 onto my Mandrake 9 box without going through the whole thing again with an experimental version, and then having to uninstall it. It would take several hours (possibly days) out of my time, but for a developer with a CVS snapshot installed it would take seconds. I could hardly have made the code shorter. So in short, no thanks. Unless perhaps you have information that this part of the code base has been worked on with respect to this issue? yours, Marcus ------------------------------------------------------------------------ [2005-01-10 02:24:43] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [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