cvs: php-src /ext/standard/tests/general_functions bug27678.phpt
| From: | Antony Dovgal | Date: | Mon, 26 Dec 2005 15:15:10 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/general_functions bug27678.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36252@lists.php.net to get a copy of this message | ||
tony2001 Mon Dec 26 15:15:10 2005 EDT
Modified files:
/php-src/ext/standard/tests/general_functions bug27678.phpt
Log:
add new test
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/tests/general_functions/bug27678.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug27678.phpt
diff -u /dev/null php-src/ext/standard/tests/general_functions/bug27678.phpt:1.2
--- /dev/null Mon Dec 26 15:15:10 2005
+++ php-src/ext/standard/tests/general_functions/bug27678.phpt Mon Dec 26 15:15:10 2005
@@ -0,0 +1,14 @@
+--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