felipe          Wed Aug 20 13:54:13 2008 UTC

  Modified files:              
    /php-src/ext/standard/tests/strings strtolower.phpt 
  Log:
  - Fixed test
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strtolower.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/standard/tests/strings/strtolower.phpt
diff -u php-src/ext/standard/tests/strings/strtolower.phpt:1.4 
php-src/ext/standard/tests/strings/strtolower.phpt:1.5
--- php-src/ext/standard/tests/strings/strtolower.phpt:1.4      Tue May 27 
10:50:47 2008
+++ php-src/ext/standard/tests/strings/strtolower.phpt  Wed Aug 20 13:54:13 2008
@@ -2,7 +2,7 @@
 Test strtolower() function
 --SKIPIF--
 <?php
-if ([EMAIL PROTECTED](LC_ALL, 'en-US.UTF-8'))
+if ([EMAIL PROTECTED](LC_ALL, 'en_US.UTF-8', 'en'))
   die('skip need "en-US.UTF-8" locale');
 ?>
 --FILE--
@@ -13,7 +13,7 @@
      Returns string with all alphabetic characters converted to lowercase.
 */
 
-setlocale(LC_ALL, 'en-US.UTF-8');
+setlocale(LC_ALL, 'en_US.UTF-8', 'en');
 
 echo "*** Testing strtolower() with all 256 chars ***\n";
 for ($i=0; $i<=255; $i++){
@@ -61,6 +61,7 @@
 echo "*** Done ***";
 ?>
 --EXPECTF--
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale 
functions in %s on line %d
 *** Testing strtolower() with all 256 chars ***
 00 => 00
 01 => 01



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

Reply via email to