#18654 [Opn->Ver]: unserialize can't handle float with E notation
| From: | sander@php.net | Date: | Wed, 31 Jul 2002 14:18:30 +0000 |
| Subject: | #18654 [Opn->Ver]: unserialize can't handle float with E notation | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15678@lists.php.net to get a copy of this message | ||
ID: 18654
Updated by: sander@php.net
Reported By: csollet@coleebris.com
-Status: Open
+Status: Verified
Bug Type: Variables related
Operating System: Linux 2.2.16
PHP Version: 4.2.2
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