#32339 [Opn]: apache crash when try to serialize an object with a reflection class in

From: Date: Wed, 16 Mar 2005 21:52:09 +0000
Subject: #32339 [Opn]: apache crash when try to serialize an object with a reflection class in
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75398@lists.php.net to get a copy of this message
ID: 32339 User updated by: fdussert at gmail dot com Reported By: fdussert at gmail dot com Status: Open Bug Type: Reproducible crash Operating System: win xp sp1 PHP Version: 5.0.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2005-03-16 16:27:02] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32339&edit=1

« previous php.bugs (#75398) next »