#45706 [Asn->Csd]: Serializing of ArrayIterator extended Objects

From: Date: Sun, 31 Aug 2008 23:13:49 +0000
Subject: #45706 [Asn->Csd]: Serializing of ArrayIterator extended Objects
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-128582@lists.php.net to get a copy of this message
 ID:               45706
 Updated by:       colder@php.net
 Reported By:      bobka at bigfoot dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         SPL related
 Operating System: Linux
 PHP Version:      5.2.6
 Assigned To:      colder
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

thanks Dmitry!


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

[2008-08-29 15:01:15] dmitry@php.net

Fixed in CVS HEAD and PHP_5_3.

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

[2008-08-06 16:51:35] bobka at bigfoot dot com

Yes, it happens only with classes that extend ArrayIterator

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

[2008-08-06 16:46:37] jani@php.net

Does this happen only with the ArrayIterator?

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

[2008-08-06 08:45:17] bobka at bigfoot dot com

The bug is somewhere in "php" or "php_bin" serialize_handler that is
used to serialize _SESSION

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

[2008-08-06 08:38:06] bobka at bigfoot dot com

To define the class before session_start is the usual case. But if two
applications use the same session data, where one part of session data
is shared between applications and other are used exclusively, you don't
have to include *all* class definitions in each application. In this
case the part of session data, that is not defined, should be preserved
and not corrupted, shouldn't it?

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

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/45706

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



Thread (8 messages)

« previous php.bugs (#128582) next »