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
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:
MUST BE VALID
Solve the problem:
12 + 50 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 19:01:28 2024 UTC