zoe Thu Jun 25 14:49:47 2009 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/strings moneyformat.phpt
Log:
fix skipif
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/moneyformat.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/strings/moneyformat.phpt
diff -u php-src/ext/standard/tests/strings/moneyformat.phpt:1.1.2.2
php-src/ext/standard/tests/strings/moneyformat.phpt:1.1.2.3
--- php-src/ext/standard/tests/strings/moneyformat.phpt:1.1.2.2 Wed Jun 6
17:46:17 2007
+++ php-src/ext/standard/tests/strings/moneyformat.phpt Thu Jun 25 14:49:47 2009
@@ -5,6 +5,10 @@
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--
<?php
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php