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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
38 + 50 = ?
Subscribe to this entry?

 
 [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: Sat May 18 03:02:51 2024 UTC