php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32339 apache crash when try to serialize an object with a reflection class in
Submitted: 2005-03-16 16:27 UTC Modified: 2005-03-18 19:21 UTC
From: fdussert at gmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.0.1 OS: win xp sp1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: fdussert at gmail dot com
New email:
PHP Version: OS:

 

 [2005-03-16 16:27 UTC] fdussert at gmail dot com
Description:
------------
hello,
i'm using php 5.01 on apache 2.
I've a class with an attribute which is a reflection class instance.
I put a __call method to be able to manipulate my reflection class instance.
I don't know if apache crash cose there's no __sleep method in my reflection class instance or cose i try to put my class in a session var.
thanks 
PS : sorry for my english, i'm french


Reproduce code:
---------------
function __construct($serv,$clname)
{
$this->serv			= $serv;
$this->ref		= new ReflectionClass($clname);
$this->instance = $this->ref->newInstance($serv);
}

Actual result:
--------------
apache crash

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-16 22:52 UTC] fdussert at gmail dot com
i think the crash appened cose i have a __call method in my object and when i put it in session __call catch the __sleep call.
 [2005-03-18 19:21 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 15:01:35 2025 UTC