cvs: php-src(PHP_5_3) /ext/standard/tests/strings ucfirst.phpt
| From: | David Coallier | Date: | Wed, 16 Jan 2008 12:56:20 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/standard/tests/strings ucfirst.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-47870@lists.php.net to get a copy of this message | ||
davidc Wed Jan 16 12:56:20 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/strings ucfirst.phpt
Log:
- Making sure the tests are not failing after modifications to the new
zend-parsing-parameters in ucfirst()
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/ucfirst.phpt?r1=1.1.2.3&r2=1.1.2.3.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/ucfirst.phpt
diff -u php-src/ext/standard/tests/strings/ucfirst.phpt:1.1.2.3
php-src/ext/standard/tests/strings/ucfirst.phpt:1.1.2.3.2.1
--- php-src/ext/standard/tests/strings/ucfirst.phpt:1.1.2.3 Thu Apr 26 23:30:00 2007
+++ php-src/ext/standard/tests/strings/ucfirst.phpt Wed Jan 16 12:56:20 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, array given in %s on line %d
+NULL
--- Testing objects ---
string(12) "Hello, world"
@@ -208,9 +208,9 @@
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