[PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard/tests/strings moneyformat.phpt

2009-06-25 Thread Zoe Slattery
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--
 http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard/tests/strings moneyformat.phpt

2007-06-06 Thread Stanislav Malyshev
stasWed Jun  6 17:46:17 2007 UTC

  Modified files:  (Branch: PHP_5_2)
/php-src/ext/standard/tests/strings moneyformat.phpt 
  Log:
  fix test format
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/moneyformat.phpt?r1=1.1.2.1&r2=1.1.2.2&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.1 
php-src/ext/standard/tests/strings/moneyformat.phpt:1.1.2.2
--- php-src/ext/standard/tests/strings/moneyformat.phpt:1.1.2.1 Wed Jun  6 
17:11:59 2007
+++ php-src/ext/standard/tests/strings/moneyformat.phpt Wed Jun  6 17:46:17 2007
@@ -15,5 +15,5 @@
 --EXPECTF--
 string(7) "X$3.14Y"
 
-Warning: money_format(): Only a single %%i or %%n token can be used in %s on 
line %d
+Warning: money_format(): Only a single %ci or %cn token can be used in %s on 
line %d
 bool(false)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard/tests/strings moneyformat.phpt

2007-06-06 Thread Stanislav Malyshev
stasWed Jun  6 17:11:59 2007 UTC

  Added files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/strings moneyformat.phpt 
  Log:
  add test for moneyformat
  
  

http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/moneyformat.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/strings/moneyformat.phpt
+++ php-src/ext/standard/tests/strings/moneyformat.phpt

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php