|
|
 |
php-dev
#38366 [NEW]: serialize produces invalid output
by Asum At Volny Dot Cz other posts by this author
Aug 7 2006 6:56AM messages near this date
#38367 [Opn->Fbk]: PHP will not compile with FastCGI and MySQL
|
#38366 [Opn->Fbk]: serialize produces invalid output
From: asum at volny dot cz
Operating system: Linux
PHP version: 5.1.4
PHP Bug Type: Strings related
Bug description: serialize produces invalid output
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 bug report at http://bugs.php.net/?id=38366&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38366&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38366&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38366&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38366&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38366&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38366&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38366&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38366&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38366&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38366&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38366&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38366&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38366&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38366&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38366&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38366&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38366&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38366&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38366&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38366&r=mysqlcfg
Thread:
Asum At Volny Dot Cz
iliaa
|
|
|
 |
|