davidc Wed Jan 16 13:27:01 2008 UTC Modified files: /php-src/ext/standard/tests/strings ucfirst1.phpt Log: - run-tests.php -U - The unicode test's error messages are working http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/ucfirst1.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/strings/ucfirst1.phpt diff -u php-src/ext/standard/tests/strings/ucfirst1.phpt:1.4 php-src/ext/standard/tests/strings/ucfirst1.phpt:1.5 --- php-src/ext/standard/tests/strings/ucfirst1.phpt:1.4 Wed Jan 16 13:12:51 2008 +++ php-src/ext/standard/tests/strings/ucfirst1.phpt Wed Jan 16 13:27:01 2008 @@ -254,8 +254,8 @@ #### Testing Miscelleneous inputs #### --- Testing arrays --- -Notice: Array to string conversion in %s on line %d -unicode(5) "Array" +Warning: ucfirst() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d +NULL --- Testing objects --- unicode(12) "Hello, world" @@ -291,9 +291,9 @@ unicode(5) "Hello" #### error conditions #### -Warning: Wrong parameter count for ucfirst() in %s on line %d +Warning: ucfirst() expects exactly 1 parameter, 0 given in %s on line %d -Warning: Wrong parameter count for ucfirst() in %s on line %d +Warning: ucfirst() expects exactly 1 parameter, 2 given in %s on line %d -Warning: Wrong parameter count for ucfirst() in %s on line %d +Warning: ucfirst() expects exactly 1 parameter, 2 given in %s on line %d Done
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php