Bug #62189 [Opn->Fbk]: Behavior of serialize has changed

From: Date: Thu, 31 May 2012 13:28:49 +0000
Subject: Bug #62189 [Opn->Fbk]: Behavior of serialize has changed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-170954@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
 Updated by:         cataphract@php.net
 Reported by:        mg at ovos dot at
 Summary:            Behavior of serialize has changed
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Variables related
 Operating System:   Win64
 PHP Version:        5.4.3
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2012-05-30 17:22:12] mg at ovos dot at

It seems that my issue is directly related to fixing a bug in PHP:
https://bugs.php.net/bug.php?id=36424

If this is true, the test case I included does not cover entirely the issue I am having. In my case
unserialize() does not bring back the referenced object, although the test case does.

I had no luck in extracting my scenario into a test case as yet. I am trying to find the difference
between test case and the live case, which is obviosly many times more complex.

------------------------------------------------------------------------
[2012-05-30 13:26:14] mg at ovos dot at

I'm attaching a DIFF with output of the testCase:

http://diffchecker.com/5399UzhN
Left side: PHP 5.3.8
Right side: PHP 5.4.3

------------------------------------------------------------------------
[2012-05-30 13:20:48] mg at ovos dot at

Hello!

I managed to produce a simple testCase, please find it here:
http://pastebin.com/sw1ZwvNv

------------------------------------------------------------------------
[2012-05-30 12:14:29] mg at ovos dot at

Hello, I am working on a test script. Please allow me to include it in few hours.

------------------------------------------------------------------------
[2012-05-30 12:08:16] cataphract@php.net

Can you create a short script that reproduces this behavior?

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


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


Thread (16 messages)

« previous php.bugs (#170954) next »