#18654 [Ver]: unserialize can't handle float with E notation

From: Date: Wed, 31 Jul 2002 22:31:47 +0000
Subject: #18654 [Ver]: unserialize can't handle float with E notation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15727@lists.php.net to get a copy of this message
 ID:               18654
 Updated by:       sniper@php.net
 Reported By:      csollet@coleebris.com
 Status:           Verified
 Bug Type:         Variables related
 Operating System: Linux 2.2.16
-PHP Version:      4.2.2
+PHP Version:      4.3.0-dev
 New Comment:

updated version. Same thing with 4.3.0-dev..



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

[2002-07-30 13:50:05] csollet@coleebris.com

<?php

echo serialize(1E+30);
/* --> d:1E+30; */

echo unserialize(serialize(1E+30));
/* Notice: unserialize() failed at offset 0 of 8 bytes in
bug_unserial.html on line 6 */

?>

Fail with php 4.3-CVS  too
Was working with 4.1.0  (untested with 4.1.1 -> 4.2.1)


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


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



Thread (7 messages)

« previous php.bugs (#15727) next »