From: Zoe Slattery Date: Thu, 25 Jun 2009 14:49:47 +0000 (+0000) Subject: fix skipif X-Git-Tag: php-5.2.11RC1~232 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c3c95d2242cc1895a6e4ef872bdf19b982a4fea;p=php fix skipif --- diff --git a/ext/standard/tests/strings/moneyformat.phpt b/ext/standard/tests/strings/moneyformat.phpt index 7f14b095ae..1866fa10d3 100755 --- a/ext/standard/tests/strings/moneyformat.phpt +++ b/ext/standard/tests/strings/moneyformat.phpt @@ -5,6 +5,10 @@ money_format test if (!function_exists('money_format') || !function_exists('setlocale')) { die("SKIP money_format - not supported\n"); } + if (setlocale(LC_MONETARY, 'en_US') === false) { + die('skip en_US locale not available'); + } + ?> --FILE--