ID: 24640 Updated by: [EMAIL PROTECTED] Reported By: gharman at erols dot com -Status: Assigned +Status: Closed Bug Type: Variables related Operating System: * -PHP Version: 4.3.3RC2-dev, PHP 5.0.0b2-dev +PHP Version: 4.3.3RC2-dev Assigned To: helly New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2003-07-13 21:49:23] [EMAIL PROTECTED] Marcus, this is again spprintf() that is broken.. :) ------------------------------------------------------------------------ [2003-07-13 21:25:33] gharman at erols dot com Description: ------------ Given $v = 1.7e+300, both var_dump and var_export output 0.E+79. Echo and print_r produce expected result. Reproduce code: --------------- <?php $v = 1.7e+300; echo var_export($v, true) . '<br />'; var_dump($v); echo "<br />$v<br />"; print_r($v); ?> Expected result: ---------------- 1.7E+300 float(1.7E+300) 1.7E+300 1.7E+300 Actual result: -------------- 0.E+79 float(0.E+79) 1.7E+300 1.7E+300 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24640&edit=1
