ID: 30791
Updated by: [EMAIL PROTECTED]
-Summary: overload and serialize produce unexpected behaviour
Reported By: alan at akbkhome dot com
Status: Verified
Bug Type: Zend Engine 2 problem
Operating System: *
PHP Version: 5CVS-2004-11-15 (dev)
New Comment:
changing title to reflect issue...
Previous Comments:
------------------------------------------------------------------------
[2005-04-14 09:42:17] [EMAIL PROTECTED]
This bug needs either fixing or verifying as wont-fix. (or
documenting....) so leaving it as verified until one of those occur...
------------------------------------------------------------------------
[2005-03-15 01:00:34] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-03-07 21:55:43] [EMAIL PROTECTED]
This is what I get with latest CVS HEAD:
# php5 t.php
Notice: serialize(): __sleep should return an array only containing the
names of instance-variables to serialize. in /home/jani/t.php on line
10
------------------------------------------------------------------------
[2005-01-13 02:13:41] [EMAIL PROTECTED]
Changing to verified - although it's not critical (as overload was
experimental in 4.x) it is a BC break - and is a relatively unexpected
behaviour..
------------------------------------------------------------------------
[2005-01-13 02:10:25] alan at akbkhome dot com
Marcus already confirmed this needs fixing - the serialize code should
not end up calling __call() on overloaded objects.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30791
--
Edit this bug report at http://bugs.php.net/?id=30791&edit=1