php-src/ext/standard/tests/strings/bug22187.phpt
Steph Fox 87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00

11 lines
200 B
PHP

--TEST--
Bug #22187 (possible crash in number_format() function)
--FILE--
<?php
var_dump(number_format(0.0001, 1));
var_dump(number_format(0.0001, 0));
?>
--EXPECT--
unicode(3) "0.0"
unicode(1) "0"