mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
fix tests for systems with no de_DE locales
This commit is contained in:
parent
e1d4ac426c
commit
f6aa6324fb
@ -6,6 +6,11 @@ Bug #67052 - NumberFormatter::parse() resets LC_NUMERIC setting
|
||||
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||
die("skip Valid only on non Windows");
|
||||
}
|
||||
$l = setlocale(LC_ALL, 'de_DE');
|
||||
if($l === false) {
|
||||
die("skip de_DE locale not installed");
|
||||
}
|
||||
setlocale(LC_ALL, $l);
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user