#38366 [Opn->Fbk]: serialize produces invalid output

From: Date: Mon, 07 Aug 2006 16:29:14 +0000
Subject: #38366 [Opn->Fbk]: serialize produces invalid output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100472@lists.php.net to get a copy of this message
ID: 38366 Updated by: iliaa@php.net Reported By: asum at volny dot cz -Status: Open +Status: Feedback Bug Type: Strings related Operating System: Linux PHP Version: 5.1.4 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Appears to work correctly in latest CVS. Previous Comments: ------------------------------------------------------------------------ [2006-08-07 13:10:19] asum at volny dot cz Description: ------------ Described in <a href="http://bugs.php.net/bug.php?id=29865">#29865</a> which is Closed, and in <a href="http://bugs.php.net/bug.php?id=33892">#33892</a> which is marked as bogus. Although described as solved in <a href="http://bugs.php.net/bug.php?id=29865">#29865</a>, the bug is back again in 5.1.4. Reproduce code: --------------- php -r 'class Foo { protected $bar = 1; } $v = new Foo; echo serialize($v);' | hexdump 0000000 3a4f 3a33 4622 6f6f 3a22 3a31 737b 363a 0000010 223a 2a00 6200 7261 3b22 3a69 3b31 007d 000001f ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38366&edit=1

« previous php.bugs (#100472) next »