1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00
Files
archived-php-src/ext/standard/tests/general_functions/bug27678.phpt
T
2006-12-05 23:03:19 +00:00

15 lines
253 B
PHP

--TEST--
Bug #27678 (number_format() crashes with large numbers)
--FILE--
<?php
number_format(1e80, 0, '', ' ');
number_format(1e300, 0, '', ' ');
number_format(1e320, 0, '', ' ');
number_format(1e1000, 0, '', ' ');
echo "Done\n";
?>
--EXPECT--
Done