mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
87fac43ac0
- html_translation_table and setlocale tests are no longer relevant - there are a number of ANSI-encoded files. Is this deliberate?
11 lines
200 B
PHP
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"
|