From: gharman at erols dot com
Operating system: XP & Linux
PHP version: 4.3.2
PHP Bug Type: Variables related
Bug description: var_export and var_dump can't output large float

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 bug report at [url]http://bugs.php.net/?id=24640&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=24640&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=24640&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=24640&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=24640&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=24640&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=24640&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=24640&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=24640&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=24640&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=24640&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=24640&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=24640&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=24640&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=24640&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=24640&r=gnused[/url]