pajoye Wed Aug 20 13:09:40 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard/tests/strings strtolower.phpt Log: - new args parsing API and correct LOCALE definition (why utf-8 when only ascii is tested) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strtolower.phpt?r1=1.1.2.2&r2=1.1.2.2.2.1&diff_format=u Index: php-src/ext/standard/tests/strings/strtolower.phpt diff -u php-src/ext/standard/tests/strings/strtolower.phpt:1.1.2.2 php-src/ext/standard/tests/strings/strtolower.phpt:1.1.2.2.2.1 --- php-src/ext/standard/tests/strings/strtolower.phpt:1.1.2.2 Thu Sep 13 19:46:49 2007 +++ php-src/ext/standard/tests/strings/strtolower.phpt Wed Aug 20 13:09:39 2008 @@ -2,7 +2,7 @@ Test strtolower() function --SKIPIF-- <?php -if (!setlocale(LC_ALL, 'en-US.UTF-8')) +if (!setlocale(LC_ALL, 'en_US.UTF-8', 'en')) die('skip need "en-US.UTF-8" locale'); ?> --FILE-- @@ -352,16 +352,16 @@ -- Iteration 9 -- -Notice: Array to string conversion in %s on line %d -string(5) "array" +Warning: strtolower() expects parameter 1 to be string, array given in %s on line %d +NULL *** Testing strtolower() with two different case strings *** strings are same, with Case Insensitive *** Testing error conditions *** -Warning: Wrong parameter count for strtolower() in %s on line %d +Warning: strtolower() expects exactly 1 parameter, 0 given in %s on line %d NULL -Warning: Wrong parameter count for strtolower() in %s on line %d +Warning: strtolower() expects exactly 1 parameter, 2 given in %s on line %d NULL *** Done ***
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php