ID: 24063 Comment by: jeff at tmtrading dot com Reported By: jparneodo at yahoo dot fr Status: Closed Bug Type: Scripting Engine problem Operating System: RH7.2 PHP Version: 4.3.3RC2-dev Assigned To: helly New Comment:
Bug still exists: http://snaps.php.net/php4-STABLE-200307301730.tar.bz2 ---- EXPECTED OUTPUT string(9) "d:1.0E-6;" float(1.0E-6) ---- ACTUAL OUTPUT Notice: unserialize(): Error at offset 0 of 9 bytes in ~/php4-STABLE-200307301730/ext/standard /tests/serialize/bug24063.php on line 4 string(9) "d::.0E-7;" bool(false) ---- FAILED Previous Comments: ------------------------------------------------------------------------ [2003-06-30 12:37:24] [EMAIL PROTECTED] 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. The output of unserialize($s); with latest CVS is float(1.0E-6), which is the correct output. ------------------------------------------------------------------------ [2003-06-30 12:33:00] jparneodo at yahoo dot fr $f=1.0e-6; $s=serialize($f); $ff=unserialize($s); // Output with php4-STABLE-200306301530/sapi/cli/php 4.3.3RC2-dev Notice: unserialize(): Error at offset 0 of 9 bytes in - on line 5 d::.0E-7; // Please compare output with 4.3.3RC1 ------------------------------------------------------------------------ [2003-06-29 20:05:27] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2003-06-26 12:56:27] [EMAIL PROTECTED] (that was for Marcus :) ------------------------------------------------------------------------ [2003-06-26 12:56:14] [EMAIL PROTECTED] You broke this, iirc. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/24063 -- Edit this bug report at http://bugs.php.net/?id=24063&edit=1