Bug #62189 [Fbk->Opn]: Behavior of serialize has changed
| From: | mg at ovos dot at | Date: | Tue, 20 Aug 2013 06:11:17 +0000 |
| Subject: | Bug #62189 [Fbk->Opn]: Behavior of serialize has changed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-181029@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62189&edit=1
ID: 62189
User updated by: mg at ovos dot at
Reported by: mg at ovos dot at
Summary: Behavior of serialize has changed
-Status: Feedback
+Status: Open
Type: Bug
Package: Variables related
Operating System: Win64
PHP Version: 5.4.3
Block user comment: N
Private report: N
New Comment:
I come accross it from time to time, but i'm unable to extract a standalone test case. In
general some strings are broken when using unserialize on objects, I usually fix it by using another
value :/ It happend on both Linux and Windows servers.
Previous Comments:
------------------------------------------------------------------------
[2013-08-19 20:59:21] mike@php.net
Duh, well, I'm lost :) So do we have a bug here, or not? And if so, what is it?
------------------------------------------------------------------------
[2012-06-24 09:04:31] Sjon at hortensius dot net
Maybe you misread my comment, or misinterpreted the results demonstrated. I can
reproduce your described behavior perfectly using the script I posted. In the
results I posted, 5.4 references only Placeholder#8 and #10, while 5.3 and
earlier contains references to Placeholder#8, #10, #12 and #14; demonstrating
what was fixed in 5.4
again, this behaviour is better in 5.4 and there is no bug demonstrated in that
script
------------------------------------------------------------------------
[2012-06-23 21:13:52] mg at ovos dot at
Dear Sjon,
You stripped it from the key lines, no wonder you cannot reproduce it.
It is all about the lines that you removed.
Cheers,
Marcin
------------------------------------------------------------------------
[2012-06-23 14:25:15] Sjon at hortensius dot net
Have a look at this example (based on your code):
http://3v4l.org/D7HIa
Before 5.4, the Placeholder instances were actually different objects. This was
fixed in 5.4, therefore the properties correctly reference to the same objects.
Regarding your bug, where objects are NOT properly recreated, I am afraid you
will need to create an actual reproducable testcase before expecting anyone to
take a look at it :)
------------------------------------------------------------------------
[2012-06-12 12:45:06] mg at ovos dot at
Feedback -> Open.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=62189
--
Edit this bug report at https://bugs.php.net/bug.php?id=62189&edit=1