php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2313 PHP4 unserializes a PHP3 serialized object as a boolean
Submitted: 1999-09-15 20:15 UTC Modified: 1999-09-16 04:07 UTC
From: mlemos at acm dot org Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Latest CVS (15/09/1999) OS: LinuX RH 5.2
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: mlemos at acm dot org
New email:
PHP Version: OS:

 

 [1999-09-15 20:15 UTC] mlemos at acm dot org
Try this example to see the problem.

<?

$object=unserialize("o:14:{s:4:\"test\";i:0;}");
echo GetType($object),"\n",serialize($object),"\n";

?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-16 04:07 UTC] thies at cvs dot php dot net
fixed in CVS!
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 20:00:02 2026 UTC