#22016 [Opn]: Different presentation of floats after serialize/unserialize

From: Date: Sun, 02 Feb 2003 20:58:56 +0000
Subject: #22016 [Opn]: Different presentation of floats after serialize/unserialize
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31904@lists.php.net to get a copy of this message
ID: 22016 Updated by: derick@php.net -Summary: wrong presentation of floats after serialize/unserialize Reported By: k.schroeder@php.net Status: Open Bug Type: Session related Operating System: Windows 2000 Server PHP Version: 4CVS-2003-02-02 (stable) New Comment: It's not really *wrong*, it's just different on windows. Previous Comments: ------------------------------------------------------------------------ [2003-02-02 14:46:31] k.schroeder@php.net 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 this bug report at http://bugs.php.net/?id=22016&edit=1

« previous php.bugs (#31904) next »