#30791 [Ver->Csd]: magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded.

From: Date: Wed, 01 Jun 2005 11:04:41 +0000
Subject: #30791 [Ver->Csd]: magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79784@lists.php.net to get a copy of this message
ID: 30791 Updated by: dmitry@php.net Reported By: alan at akbkhome dot com -Status: Verified +Status: Closed Bug Type: Zend Engine 2 problem Operating System: * PHP Version: 5CVS-2004-11-15 (dev) Assigned To: dmitry New Comment: Fixed in CVS HEAD and PHP_5_0. Previous Comments: ------------------------------------------------------------------------ [2005-04-14 09:47:31] alan_k@php.net changing title to reflect issue... ------------------------------------------------------------------------ [2005-04-14 09:42:17] alan_k@php.net 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] sniper@php.net 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] alan_k@php.net 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.. ------------------------------------------------------------------------ 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

« previous php.bugs (#79784) next »