php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15350 Apache crashes when using PHP's magical __sleep() function
Submitted: 2002-02-03 06:53 UTC Modified: 2002-06-18 19:16 UTC
From: bs_php at infeer dot com Assigned: yohgaki (profile)
Status: Not a bug Package: Session related
PHP Version: 4.1.0 OS: Win 2k
Private report: No CVE-ID: None
 [2002-02-03 06:53 UTC] bs_php at infeer dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-03 19:25 UTC] yohgaki@php.net
Please search bug db at first :)
It's already reported.
 [2002-06-18 19:16 UTC] sniper@php.net
Just add your comments to the existing report.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 09:01:29 2024 UTC