Bug #15350: Apache crashes when using PHP's magical __sleep() function

From: Date: Sun, 03 Feb 2002 11:53:21 +0000
Subject: Bug #15350: Apache crashes when using PHP's magical __sleep() function
Groups: php.dev 
Request: Send a blank email to php-dev+get-78943@lists.php.net to get a copy of this message
From: bs_php@infeer.com Operating system: Win 2k PHP version: 4.1.0 PHP Bug Type: Reproducible crash Bug description: Apache crashes when using PHP's magical __sleep() function Using latest Apache V 1.3.22 Apache chrashes whith this code: <?php class A { function A() {} function __sleep() {return;} } $a = new A(); $stream = serialize($a); ?> A also tested __wakeup() and that works OK. -- Edit bug report at: http://bugs.php.net/?id=15350&edit=1 Fixed in CVS: http://bugs.php.net/fix.php?id=15350&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15350&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15350&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15350&r=oldversion Not for support: http://bugs.php.net/fix.php?id=15350&r=support Not wrong behavior: http://bugs.php.net/fix.php?id=15350&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15350&r=notenoughinfo

« previous php.dev (#78943) next »