Edit report at https://bugs.php.net/bug.php?id=60879&edit=1

 ID:                 60879
 Patch added by:     paj...@php.net
 Reported by:        thijsputman at gmail dot com
 Summary:            unserialize() Does not invoke __wakeup() on object
 Status:             Assigned
 Type:               Bug
 Package:            Class/Object related
 Operating System:   Windows 7
 PHP Version:        5.4.0RC6
 Assigned To:        szarkos
 Block user comment: N
 Private report:     N

 New Comment:

The following patch has been added/updated:

Patch Name: pragmaoptoff
Revision:   1329735212
URL:        
https://bugs.php.net/patch-display.php?bug=60879&patch=pragmaoptoff&revision=1329735212


Previous Comments:
------------------------------------------------------------------------
[2012-02-20 09:58:02] thijsputman at gmail dot com

The RC8 build provided fixes the issue in my environment.

Thanks for the quick follow up!

------------------------------------------------------------------------
[2012-02-17 18:05:35] szar...@php.net

Thank you for reporting this!  It appears to be related to the PGO build, 
however we've been using PGO since RC3, so it looks like this popped up in the 
RC6+ builds.

Can you please test this build of RC8 and let me know if it fixes the issue in 
your environment:  
http://windows.php.net/downloads/snaps/ostc/build/php-5.4.0-RC8-1/php-5.4.0RC8-nts-Win32-VC9-x86.zip

The configure line was fixed earlier (was also in some 5.3 snaps), good catch.  
It does not appear to be related to this issue, however.

------------------------------------------------------------------------
[2012-02-10 22:43:56] johan...@php.net

Steve,

I can't verify the report on Linux and don't see a related code-change. As I 
don't have a proper Windows environment at hand: From the report the user gave 
it seems like the compiler would do some over-optimistic optimization, can you 
take a look into this?

Also please mind the notes on the other small issues in the configure lines.

------------------------------------------------------------------------
[2012-02-08 14:02:24] thijsputman at gmail dot com

The configure commands between RC7-dev (which works properly) and RC7 (which 
exhibits the problem) seem to differ a bit, could that be the cause?

RC7 contains the following elements not contained in RC7-dev:
--disable-nsapi --with-enchant=shared --disable-static-analyze --with-pgo

RC7-dev contains the following not contained in RC7:
--enable-object-out-dir=d:/temp/obj/nts-windows-vc9-x86

Also, there seems to be a small typo in the RC7-dev configure command:
"--enable-snapshot-build --disable-zts --disable-isapi --enable-debug-pack 
--disable-isapi" 

ISAPI is disabled twice (I'm guessing the second one should be nsapi?)

------------------------------------------------------------------------
[2012-02-08 13:46:27] thijsputman at gmail dot com

Just tried with RC7 (VC9 x86 Non Thread Safe - 2012-Feb-06 23:40:37) and the 
problem has reappeared...

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


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=60879


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

Reply via email to