tony2001 Thu Nov 8 10:03:52 2007 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/array end_64bit.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/end_64bit.phpt?r1=1.1.2.2&r2=1.1.2.2.2.1&diff_format=u
Index: php-src/ext/standard/tests/array/end_64bit.phpt
diff -u php-src/ext/standard/tests/array/end_64bit.phpt:1.1.2.2
php-src/ext/standard/tests/array/end_64bit.phpt:1.1.2.2.2.1
--- php-src/ext/standard/tests/array/end_64bit.phpt:1.1.2.2 Mon May 14
16:18:02 2007
+++ php-src/ext/standard/tests/array/end_64bit.phpt Thu Nov 8 10:03:52 2007
@@ -206,33 +206,33 @@
int(-4)
*** Testing end() on objects ***
-object(foo1)#2 (0) {
+object(foo1)#%d (0) {
}
array(2) {
[0]=>
- &object(foo)#1 (0) {
+ &object(foo)#%d (0) {
}
[1]=>
- &object(foo1)#2 (0) {
+ &object(foo1)#%d (0) {
}
}
*** Testing end() on resource type ***
-resource(6) of type (stream)
-resource(6) of type (stream)
+resource(%d) of type (stream)
+resource(%d) of type (stream)
*** Testing error conditions ***
-Warning: Wrong parameter count for end() in %s on line %d
+Warning: end() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for end() in %s on line %d
+Warning: end() expects exactly 1 parameter, 2 given in %s on line %d
NULL
-Warning: end(): Passed variable is not an array or object in %s on line %d
-bool(false)
+Warning: end() expects parameter 1 to be array, integer given in %s on line %d
+NULL
-Warning: end(): Passed variable is not an array or object in %s on line %d
-bool(false)
+Warning: end() expects parameter 1 to be array, string given in %s on line %d
+NULL
bool(false)
Done
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php