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

From: Date: Mon, 04 Feb 2002 00:25:06 +0000
Subject: Bug #15350 Updated: Apache crashes when using PHP's magical __sleep() function
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78996@lists.php.net to get a copy of this message
ID: 15350 Updated by: yohgaki@php.net -Summary: Apache crashes when using PHP's magical __sleep() function Reported By: bs_php@infeer.com -Status: Open +Status: Duplicate -Bug Type: Reproducible crash +Bug Type: Session related Operating System: Win 2k PHP Version: 4.1.0 -Assigned To: +Assigned To: yohgaki New Comment: Please search bug db at first :) It's already reported. Previous Comments: ------------------------------------------------------------------------ [2002-02-03 06:53:20] bs_php@infeer.com 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 this bug report at http://bugs.php.net/?id=15350&edit=1

« previous php.dev (#78996) next »