cvs: php-src /ext/standard/tests/strings ucfirst1.phpt

From: Date: Wed, 16 Jan 2008 13:12:52 +0000
Subject: cvs: php-src /ext/standard/tests/strings ucfirst1.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-47871@lists.php.net to get a copy of this message
davidc Wed Jan 16 13:12:52 2008 UTC Modified files: /php-src/ext/standard/tests/strings ucfirst1.phpt Log: - MFB - Make sure to return the good error message with new parse parameters api of ucfirst() http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/ucfirst1.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/strings/ucfirst1.phpt diff -u php-src/ext/standard/tests/strings/ucfirst1.phpt:1.3 php-src/ext/standard/tests/strings/ucfirst1.phpt:1.4 --- php-src/ext/standard/tests/strings/ucfirst1.phpt:1.3 Mon May 14 13:05:29 2007 +++ php-src/ext/standard/tests/strings/ucfirst1.phpt Wed Jan 16 13:12:51 2008 @@ -171,8 +171,8 @@ #### Testing Miscelleneous inputs #### --- Testing arrays --- -Notice: Array to string conversion in %s on line %d -string(5) "Array" +Warning: ucfirst() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d +NULL --- Testing objects --- string(12) "Hello, world" @@ -208,12 +208,13 @@ string(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 + --UEXPECTF-- #### Basic and Various operations ####

« previous php.cvs (#47871) next »