ID: 12058 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Class/Object related Operating System: linux PHP Version: 4.0.5 New Comment: Serialize died because there was an object used that had a reference pointing to another reference. (Like in a two way linked list) This created an infinite loop when trying to resolve the reference during serialization. (Does serialize work recursively?) It was my fault for not using __sleep to fix this beforehand. However, PHP should not die like it did. It did not throw an error or anything. It just hit the infinite loop and then did not respond. Is it possible to check for a recursive reference error before running serialize on the object? Previous Comments: ------------------------------------------------------------------------ [2001-07-11 12:29:38] [EMAIL PROTECTED] $timesheet = new timesheet(); //Very large object with no references $temp=serialize($timesheet); $timesheet->write(); //serialize causes everything to break. No error messages. The page is no longer found by the web server. Leaving out serialize causes no bug. ------------------------------------------------------------------------ ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=12058&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]