#22016 [NEW]: wrong presentation of floats after serialize/unserialize
| From: | k.schroeder@php.net | Date: | Sun, 02 Feb 2003 20:46:31 +0000 |
| Subject: | #22016 [NEW]: wrong presentation of floats after serialize/unserialize | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-31902@lists.php.net to get a copy of this message | ||
From: k.schroeder@php.net
Operating system: Windows 2000 Server
PHP version: 4CVS-2003-02-02 (stable)
PHP Bug Type: Session related
Bug description: wrong presentation of floats after serialize/unserialize
ext/standard/tests/serialize/003.phpt failed on W2k server:
---- 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
================================================================================
004- d:5.2E+25;
004+ d:5.2E+025;
007- d:8.529E-22;
007+ d:8.529E-022;
010- d:9E-09;
010+ d:9E-009;
================================================================================
--
Edit bug report at http://bugs.php.net/?id=22016&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22016&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22016&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22016&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22016&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22016&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22016&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22016&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22016&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22016&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22016&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22016&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22016&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22016&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22016&r=gnused