#24063 [Opn->Bgs]: Notice: unserialize(): Error at offset ...

From: Date: Fri, 06 Jun 2003 19:36:45 +0000
Subject: #24063 [Opn->Bgs]: Notice: unserialize(): Error at offset ...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-41383@lists.php.net to get a copy of this message
 ID:               24063
 Updated by:       sniper@php.net
 Reported By:      jparneodo at yahoo dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: RH7.3
 PHP Version:      4.3.2
 New Comment:

Withing RH 6.2 the original object is identical to the 
one after serialize/unserialize. No bug here.



Previous Comments:
------------------------------------------------------------------------

[2003-06-06 11:08:04] jparneodo at yahoo dot fr

class C {
	var $bad_1 = 1e-6;	// Bug in unserialize
	var $bad_2 = 1.0e-6;	// Bug in unserialize
	var $ok__1 = 1.1e-6;
	var $ok__2 = 9e-7;
}

$c=new C();
$s=serialize($c);
$cc=unserialize($s);

/*
Values like 0.00001 (one)
seems to be fatal!
*/


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24063&edit=1



Thread (16 messages)

« previous php.bugs (#41383) next »