|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: asum at volny dot cz
New email:
PHP Version: OS:


 [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: Sun Jul 21 01:01:28 2024 UTC