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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bs_php at infeer dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri May 03 22:01:33 2024 UTC