Remove redundant files and add tests for #504 bug

This commit is contained in:
crazywhalecc
2024-07-19 23:34:01 +08:00
committed by Jerry Ma
parent fbae0021a3
commit ca6d5da10f
3 changed files with 9 additions and 0 deletions

View File

@@ -3,3 +3,6 @@
declare(strict_types=1);
assert(class_exists(NumberFormatter::class));
assert(function_exists('locale_get_default'));
$fmt = new NumberFormatter('de-DE', NumberFormatter::DECIMAL);
assert(strval($fmt->parse('1.100')) === '1100');