#14950 [Com]: crash with __sleep() and __wakeup()

From: Date: Mon, 16 Sep 2002 13:09:15 +0000
Subject: #14950 [Com]: crash with __sleep() and __wakeup()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19451@lists.php.net to get a copy of this message
ID: 14950 Comment by: bs_php@sourceforge.com Reported By: hellekin@php.net Status: Analyzed Bug Type: Session related Operating System: Debian SID PHP Version: 4.2.0-dev New Comment: Bug remains (Apache crash) SERVER_SOFTWARE: Apache/1.3.26 (Win32) PHP/4.2.3 OS: Win2000 Apache: 1.3.26 Sample Code: <?php class A { function A() {} function __sleep() {return;} } $a = new A(); $stream = serialize($a); ?> Previous Comments: ------------------------------------------------------------------------ [2002-05-28 14:58:47] ben@luistert.nl I use php 4.2.1 as apache module on a win95 system and it crashes whenever I try to serialize an object (in a session or otherwise) that has a __sleep() function. ------------------------------------------------------------------------ [2002-04-13 12:48:29] artus@nickpicker.de I have the same problem running apache 2.0.35 and php 4.2 RC3 under Win2K ... ------------------------------------------------------------------------ [2002-04-03 11:06:21] yohgaki@php.net I just tested. It does not work. ------------------------------------------------------------------------ [2002-03-22 05:30:46] yohgaki@php.net Could you try CVS version to see if this bug is fixed? ------------------------------------------------------------------------ [2002-03-06 03:25:20] yohgaki@php.net Version update I just take a look at what is going on, __sleep and __wakeup is messed badly. It does not work at all and even crashes... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14950 -- Edit this bug report at http://bugs.php.net/?id=14950&edit=1

« previous php.bugs (#19451) next »