php.net |  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
Votes:1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: asum at volny dot cz
New email:
PHP Version: OS:

 

 [2006-08-07 13:10 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-07 16:29 UTC] iliaa@php.net
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.
 [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 Oct 27 16:01:27 2024 UTC