#18654 [NEW]: unserialize can't handle float with E notation
| From: | csollet at coleebris dot com | Date: | Tue, 30 Jul 2002 17:50:05 +0000 |
| Subject: | #18654 [NEW]: unserialize can't handle float with E notation | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15611@lists.php.net to get a copy of this message | ||
From: csollet@coleebris.com
Operating system: Linux 2.2.16
PHP version: 4.2.2
PHP Bug Type: Variables related
Bug description: unserialize can't handle float with E notation
<?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 bug report at http://bugs.php.net/?id=18654&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18654&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18654&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18654&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18654&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18654&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18654&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18654&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18654&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18654&r=globals