ID: 24063 Updated by: [EMAIL PROTECTED] 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