From:             fdussert at gmail dot com
Operating system: win xp sp1
PHP version:      5.0.1
PHP Bug Type:     Reproducible crash
Bug description:  apache crash when try to serialize an object with a 
reflection class in

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 bug report at http://bugs.php.net/?id=32339&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32339&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32339&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32339&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32339&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32339&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32339&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32339&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32339&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32339&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32339&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32339&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32339&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32339&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32339&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32339&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32339&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32339&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32339&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32339&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32339&r=mysqlcfg

Reply via email to