#18654 [Fbk->NoF]: unserialize can't handle float with E notation

From: Date: Mon, 10 Mar 2003 00:41:33 +0000
Subject: #18654 [Fbk->NoF]: unserialize can't handle float with E notation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35162@lists.php.net to get a copy of this message
ID: 18654 Updated by: sniper@php.net Reported By: csollet at coleebris dot com -Status: Feedback +Status: No Feedback Bug Type: Variables related Operating System: Linux 2.2.16, Win 2000 server PHP Version: 4.3.1-dev New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-02-27 11:06:36] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-02-04 17:48:36] k.schroeder@php.net ext\standard\tests\serialize\003.phpt failed on W2k server with latest php4-win32 snap: ---- EXPECTED OUTPUT d:100; float(100) d:5.2E+25; float(5.2E+25) d:8.529E-22; float(8.529E-22) d:9E-09; float(9.E-9) ---- ACTUAL OUTPUT d:100; float(100) d:5.2E+025; float(5.2E+25) d:8.529E-022; float(8.529E-22) d:9E-009; float(9.E-9) ---- FAILED ------------------------------------------------------------------------ [2002-08-19 15:55:13] sander@php.net This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-07-31 18:31:47] sniper@php.net updated version. Same thing with 4.3.0-dev.. ------------------------------------------------------------------------ [2002-07-30 13:50:05] csollet at coleebris dot 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

« previous php.bugs (#35162) next »