RE: [PHP-DEV] PHP 5.4.0 RC8 released
| From: | Stephen Zarkos | Date: | Sun, 19 Feb 2012 19:11:10 +0000 |
| Subject: | RE: [PHP-DEV] PHP 5.4.0 RC8 released | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57908@lists.php.net to get a copy of this message | ||
Hello,
>
> I still have the following problem I'm experiencing with all release candidates
> since RC6:
>
> $ /cygdrive/f/Programme/php-5.4.0RC8-nts-Win32-VC9-x86/php -r 'class A {
> function __wakeup() { echo "WAKEUP!"; }}
> var_dump(unserialize(serialize(new A())));'
> object(A)#1 (0) {
> }
>
> (Hint: __wakeup() isn't called).
>
This looks to be the same as https://bugs.php.net/bug.php?id=60879. Can you try
the build I linked to in that report and see if it resolves this issue for you?
> I cannot reproduce when I compile PHP myself, whether on Windows,
> Gentoo or Ubuntu, but it persists in the binaries the PHP group provides; I’m
> out of wisdom here, though a wild guess is some variable initializations are
> missing.
>
> See also https://bugs.php.net/bug.php?id=60919
>
> - Timm