ID:               15350
 Updated by:       [EMAIL PROTECTED]
-Summary:          Apache crashes when using PHP's magical __sleep()
function
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to