From: [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php