|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38366 serialize produces invalid output
Submitted: 2006-08-07 13:10 UTC Modified: 2006-08-15 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: asum at volny dot cz Assigned:
Status: No Feedback Package: Strings related
PHP Version: 5.1.4 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
33 + 43 = ?
Subscribe to this entry?

 [2006-08-07 13:10 UTC] asum at volny dot cz
Described in <a href="">#29865</a> which is Closed, and in <a href="">#33892</a> which is marked as bogus.
Although described as solved in <a href="">#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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-07 16:29 UTC]
Please try using this CVS snapshot:
For Windows:

Appears to work correctly in latest CVS.
 [2006-08-15 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 08:01:28 2024 UTC