ID:               48386
 Updated by:       col...@php.net
 Reported By:      david at grudl dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         SPL related
 Operating System: *
 PHP Version:      5.3CVS-2009-05-25 (snap)
-Assigned To:      
+Assigned To:      colder


Previous Comments:
------------------------------------------------------------------------

[2009-05-25 15:31:42] david at grudl dot com

Description:
------------
Unserialization of ArrayObject descendants doesn't call __wakeup in PHP
5.3.

Reproduce code:
---------------
class Test extends ArrayObject
{

        public function __wakeup()
        {
                echo 'hey';
        }

}

$test = new Test;
$dolly = unserialize(serialize($test));

Expected result:
----------------
-> hey

Actual result:
--------------
none


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48386&edit=1

Reply via email to