nlopess Thu Sep 13 19:48:58 2007 UTC Modified files: /php-src/ext/standard/tests/strings strtolower.phpt Log: MFB http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strtolower.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/strings/strtolower.phpt diff -u php-src/ext/standard/tests/strings/strtolower.phpt:1.2 php-src/ext/standard/tests/strings/strtolower.phpt:1.3 --- php-src/ext/standard/tests/strings/strtolower.phpt:1.2 Fri Aug 10 03:05:00 2007 +++ php-src/ext/standard/tests/strings/strtolower.phpt Thu Sep 13 19:48:58 2007 @@ -2,8 +2,8 @@ Test strtolower() function --SKIPIF-- <?php -if( (substr(PHP_OS, 0, 5) != "Linux") && (@setlocale(LC_CTYPE, "") != "en-US.UTF-8") ) - die('skip Run only on Linux with locale as "en-US.UTF-8"'); +if ([EMAIL PROTECTED](LC_ALL, 'en-US.UTF-8')) + die('skip need "en-US.UTF-8" locale'); ?> --FILE-- <?php @@ -13,6 +13,8 @@ Returns string with all alphabetic characters converted to lowercase. */ +setlocale(LC_ALL, 'en-US.UTF-8'); + echo "*** Testing strtolower() with all 256 chars ***\n"; for ($i=0; $i<=255; $i++){ $char = chr($i);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php