stas Wed Jun 18 23:45:36 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/array each.phpt each_error.phpt
/php-src/ext/standard/tests/class_object get_class_error_001.phpt
get_class_methods_error_001.phpt
get_class_variation_001.phpt
get_object_vars_error_001.phpt
get_object_vars_variation_003.phpt
get_parent_class_error_001.phpt
is_a_error_001.phpt
is_a_variation_002.phpt
is_subclass_of_error_001.phpt
is_subclass_of_variation_002.phpt
method_exists_error_001.phpt
method_exists_variation_002.phpt
/php-src/ext/standard/tests/general_functions bug41970.phpt
/php-src/ext/standard/tests/strings strcasecmp.phpt strcmp.phpt
strlen.phpt
strncasecmp_error.phpt
strncasecmp_variation10.phpt
strncasecmp_variation11.phpt
strncasecmp_variation4.phpt
strncasecmp_variation5.phpt
strncmp_error.phpt
strncmp_variation4.phpt
strncmp_variation5.phpt
Log:
fix tests for builtin Zend functions using new parsing API
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/each.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/array/each.phpt
diff -u php-src/ext/standard/tests/array/each.phpt:1.1.2.1
php-src/ext/standard/tests/array/each.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/array/each.phpt:1.1.2.1 Sat May 12 09:53:30 2007
+++ php-src/ext/standard/tests/array/each.phpt Wed Jun 18 23:45:36 2008
@@ -692,10 +692,10 @@
*** Testing error conditions ***
-Warning: Wrong parameter count for each() in %s on line %d
+Warning: each() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for each() in %s on line %d
+Warning: each() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Warning: Variable passed to each() is not an array or object in %s on line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/each_error.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/array/each_error.phpt
diff -u php-src/ext/standard/tests/array/each_error.phpt:1.1.4.2
php-src/ext/standard/tests/array/each_error.phpt:1.1.4.3
--- php-src/ext/standard/tests/array/each_error.phpt:1.1.4.2 Tue Feb 19
17:02:27 2008
+++ php-src/ext/standard/tests/array/each_error.phpt Wed Jun 18 23:45:36 2008
@@ -32,11 +32,11 @@
-- Testing each() function with Zero arguments --
-Warning: Wrong parameter count for each() in %s on line %d
+Warning: each() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-- Testing each() function with more than expected no. of arguments --
-Warning: Wrong parameter count for each() in %s on line %d
+Warning: each() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/get_class_error_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/get_class_error_001.phpt
diff -u
php-src/ext/standard/tests/class_object/get_class_error_001.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/get_class_error_001.phpt:1.1.4.3
--- php-src/ext/standard/tests/class_object/get_class_error_001.phpt:1.1.4.2
Thu Mar 6 11:02:37 2008
+++ php-src/ext/standard/tests/class_object/get_class_error_001.phpt Wed Jun
18 23:45:36 2008
@@ -23,6 +23,6 @@
-- Testing get_class() function with more than expected no. of arguments --
-Warning: Wrong parameter count for get_class() in %s on line 14
+Warning: get_class() expects at most 1 parameter, 2 given in %s on line 14
NULL
Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/get_class_methods_error_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/get_class_methods_error_001.phpt
diff -u
php-src/ext/standard/tests/class_object/get_class_methods_error_001.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/get_class_methods_error_001.phpt:1.1.4.3
---
php-src/ext/standard/tests/class_object/get_class_methods_error_001.phpt:1.1.4.2
Thu Mar 6 11:02:37 2008
+++ php-src/ext/standard/tests/class_object/get_class_methods_error_001.phpt
Wed Jun 18 23:45:36 2008
@@ -31,11 +31,11 @@
-- Testing get_class_methods() function with Zero arguments --
-Warning: Wrong parameter count for get_class_methods() in %s on line 16
+Warning: get_class_methods() expects exactly 1 parameter, 0 given in %s on
line 16
NULL
-- Testing get_class_methods() function with more than expected no. of
arguments --
-Warning: Wrong parameter count for get_class_methods() in %s on line 22
+Warning: get_class_methods() expects exactly 1 parameter, 2 given in %s on
line 22
NULL
Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/get_class_variation_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/get_class_variation_001.phpt
diff -u
php-src/ext/standard/tests/class_object/get_class_variation_001.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/get_class_variation_001.phpt:1.1.4.3
---
php-src/ext/standard/tests/class_object/get_class_variation_001.phpt:1.1.4.2
Thu Mar 6 11:02:37 2008
+++ php-src/ext/standard/tests/class_object/get_class_variation_001.phpt
Wed Jun 18 23:45:36 2008
@@ -81,80 +81,132 @@
Notice: Undefined variable: unset_var in %s on line 61
Arg value: 0 (type: integer)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, integer given in %s on
line %d
+NULL
Arg value: 1 (type: integer)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, integer given in %s on
line %d
+NULL
Arg value: 12345 (type: integer)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, integer given in %s on
line %d
+NULL
Arg value: -2345 (type: integer)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, integer given in %s on
line %d
+NULL
Arg value: 10.5 (type: double)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, double given in %s on
line %d
+NULL
Arg value: -10.5 (type: double)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, double given in %s on
line %d
+NULL
Arg value: 101234567000 (type: double)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, double given in %s on
line %d
+NULL
Arg value: 1.07654321E-9 (type: double)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, double given in %s on
line %d
+NULL
Arg value: 0.5 (type: double)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, double given in %s on
line %d
+NULL
Arg value: Array (type: array)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, array given in %s on
line %d
+NULL
Arg value: Array (type: array)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, array given in %s on
line %d
+NULL
Arg value: Array (type: array)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, array given in %s on
line %d
+NULL
Arg value: Array (type: array)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, array given in %s on
line %d
+NULL
Arg value: Array (type: array)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, array given in %s on
line %d
+NULL
Arg value: (type: NULL)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, null given in %s on
line %d
+NULL
Arg value: (type: NULL)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, null given in %s on
line %d
+NULL
Arg value: 1 (type: boolean)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, boolean given in %s on
line %d
+NULL
Arg value: (type: boolean)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, boolean given in %s on
line %d
+NULL
Arg value: 1 (type: boolean)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, boolean given in %s on
line %d
+NULL
Arg value: (type: boolean)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, boolean given in %s on
line %d
+NULL
Arg value: (type: string)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, string given in %s on
line %d
+NULL
Arg value: (type: string)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, string given in %s on
line %d
+NULL
Arg value: string (type: string)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, string given in %s on
line %d
+NULL
Arg value: string (type: string)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, string given in %s on
line %d
+NULL
Arg value: (type: NULL)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, null given in %s on
line %d
+NULL
Arg value: (type: NULL)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, null given in %s on
line %d
+NULL
Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/get_object_vars_error_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/get_object_vars_error_001.phpt
diff -u
php-src/ext/standard/tests/class_object/get_object_vars_error_001.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/get_object_vars_error_001.phpt:1.1.4.3
---
php-src/ext/standard/tests/class_object/get_object_vars_error_001.phpt:1.1.4.2
Thu Mar 6 11:02:37 2008
+++ php-src/ext/standard/tests/class_object/get_object_vars_error_001.phpt
Wed Jun 18 23:45:36 2008
@@ -27,11 +27,11 @@
-- Testing get_object_vars() function with Zero arguments --
-Warning: Wrong parameter count for get_object_vars() in %s on line 12
+Warning: get_object_vars() expects exactly 1 parameter, 0 given in %s on line
12
NULL
-- Testing get_object_vars() function with more than expected no. of arguments
--
-Warning: Wrong parameter count for get_object_vars() in %s on line 18
+Warning: get_object_vars() expects exactly 1 parameter, 2 given in %s on line
18
NULL
Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/get_object_vars_variation_003.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index:
php-src/ext/standard/tests/class_object/get_object_vars_variation_003.phpt
diff -u
php-src/ext/standard/tests/class_object/get_object_vars_variation_003.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/get_object_vars_variation_003.phpt:1.1.4.3
---
php-src/ext/standard/tests/class_object/get_object_vars_variation_003.phpt:1.1.4.2
Thu Mar 6 11:02:37 2008
+++ php-src/ext/standard/tests/class_object/get_object_vars_variation_003.phpt
Wed Jun 18 23:45:36 2008
@@ -79,80 +79,132 @@
Notice: Undefined variable: unset_var in %s on line 59
Arg value 0
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, integer given in
%s on line %d
+NULL
Arg value 1
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, integer given in
%s on line %d
+NULL
Arg value 12345
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, integer given in
%s on line %d
+NULL
Arg value -2345
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, integer given in
%s on line %d
+NULL
Arg value 10.5
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, double given in
%s on line %d
+NULL
Arg value -10.5
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, double given in
%s on line %d
+NULL
Arg value 101234567000
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, double given in
%s on line %d
+NULL
Arg value 1.07654321E-9
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, double given in
%s on line %d
+NULL
Arg value 0.5
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, double given in
%s on line %d
+NULL
Arg value Array
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, array given in %s
on line %d
+NULL
Arg value Array
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, array given in %s
on line %d
+NULL
Arg value Array
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, array given in %s
on line %d
+NULL
Arg value Array
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, array given in %s
on line %d
+NULL
Arg value Array
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, array given in %s
on line %d
+NULL
Arg value
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, null given in %s
on line %d
+NULL
Arg value
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, null given in %s
on line %d
+NULL
Arg value 1
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, boolean given in
%s on line %d
+NULL
Arg value
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, boolean given in
%s on line %d
+NULL
Arg value 1
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, boolean given in
%s on line %d
+NULL
Arg value
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, boolean given in
%s on line %d
+NULL
Arg value
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, string given in
%s on line %d
+NULL
Arg value
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, string given in
%s on line %d
+NULL
Arg value string
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, string given in
%s on line %d
+NULL
Arg value string
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, string given in
%s on line %d
+NULL
Arg value
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, null given in %s
on line %d
+NULL
Arg value
-bool(false)
+
+Warning: get_object_vars() expects parameter 1 to be object, null given in %s
on line %d
+NULL
Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/get_parent_class_error_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/get_parent_class_error_001.phpt
diff -u
php-src/ext/standard/tests/class_object/get_parent_class_error_001.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/get_parent_class_error_001.phpt:1.1.4.3
---
php-src/ext/standard/tests/class_object/get_parent_class_error_001.phpt:1.1.4.2
Thu Mar 6 11:02:36 2008
+++ php-src/ext/standard/tests/class_object/get_parent_class_error_001.phpt
Wed Jun 18 23:45:36 2008
@@ -24,6 +24,6 @@
-- Testing get_parent_class() function with more than expected no. of
arguments --
-Warning: Wrong parameter count for get_parent_class() in %s on line 15
+Warning: get_parent_class() expects at most 1 parameter, 2 given in %s on line
15
NULL
Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/is_a_error_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/is_a_error_001.phpt
diff -u php-src/ext/standard/tests/class_object/is_a_error_001.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/is_a_error_001.phpt:1.1.4.3
--- php-src/ext/standard/tests/class_object/is_a_error_001.phpt:1.1.4.2 Thu Mar
6 11:02:36 2008
+++ php-src/ext/standard/tests/class_object/is_a_error_001.phpt Wed Jun 18
23:45:36 2008
@@ -34,13 +34,13 @@
Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 16
-Warning: Wrong parameter count for is_a() in %s on line 16
+Warning: is_a() expects exactly 2 parameters, 3 given in %s on line 16
NULL
-- Testing is_a() function with less than expected no. of arguments --
Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 21
-Warning: Wrong parameter count for is_a() in %s on line 21
+Warning: is_a() expects exactly 2 parameters, 1 given in %s on line 21
NULL
Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/is_a_variation_002.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/is_a_variation_002.phpt
diff -u php-src/ext/standard/tests/class_object/is_a_variation_002.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/is_a_variation_002.phpt:1.1.4.3
--- php-src/ext/standard/tests/class_object/is_a_variation_002.phpt:1.1.4.2
Thu Mar 6 11:02:37 2008
+++ php-src/ext/standard/tests/class_object/is_a_variation_002.phpt Wed Jun
18 23:45:36 2008
@@ -90,136 +90,136 @@
Arg value 0
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value 1
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value 12345
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value -2345
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value 10.5
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value -10.5
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value 101234567000
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value 1.07654321E-9
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value 0.5
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value Array
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
-Notice: Array to string conversion in %s on line 74
-bool(false)
+Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
+NULL
Arg value Array
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
-Notice: Array to string conversion in %s on line 74
-bool(false)
+Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
+NULL
Arg value Array
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
-Notice: Array to string conversion in %s on line 74
-bool(false)
+Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
+NULL
Arg value Array
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
-Notice: Array to string conversion in %s on line 74
-bool(false)
+Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
+NULL
Arg value Array
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
-Notice: Array to string conversion in %s on line 74
-bool(false)
+Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
+NULL
Arg value
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value 1
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value 1
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value C Instance
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Arg value
-Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line 74
+Deprecated: is_a(): Deprecated. Please use the instanceof operator in %s on
line %d
bool(false)
Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/is_subclass_of_error_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/is_subclass_of_error_001.phpt
diff -u
php-src/ext/standard/tests/class_object/is_subclass_of_error_001.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/is_subclass_of_error_001.phpt:1.1.4.3
---
php-src/ext/standard/tests/class_object/is_subclass_of_error_001.phpt:1.1.4.2
Thu Mar 6 11:02:37 2008
+++ php-src/ext/standard/tests/class_object/is_subclass_of_error_001.phpt
Wed Jun 18 23:45:36 2008
@@ -30,11 +30,11 @@
-- Testing is_subclass_of() function with more than expected no. of arguments
--
-Warning: Wrong parameter count for is_subclass_of() in %s on line 16
+Warning: is_subclass_of() expects exactly 2 parameters, 3 given in %s on line
16
NULL
-- Testing is_subclass_of() function with less than expected no. of arguments
--
-Warning: Wrong parameter count for is_subclass_of() in %s on line 21
+Warning: is_subclass_of() expects exactly 2 parameters, 1 given in %s on line
21
NULL
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/is_subclass_of_variation_002.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/is_subclass_of_variation_002.phpt
diff -u
php-src/ext/standard/tests/class_object/is_subclass_of_variation_002.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/is_subclass_of_variation_002.phpt:1.1.4.3
---
php-src/ext/standard/tests/class_object/is_subclass_of_variation_002.phpt:1.1.4.2
Thu Mar 6 11:02:37 2008
+++ php-src/ext/standard/tests/class_object/is_subclass_of_variation_002.phpt
Wed Jun 18 23:45:36 2008
@@ -115,24 +115,24 @@
bool(false)
Arg value Array
-Error: 8 - Array to string conversion, %s(77)
-bool(false)
+Error: 2 - is_subclass_of() expects parameter 2 to be string, array given,
%s(%d)
+NULL
Arg value Array
-Error: 8 - Array to string conversion, %s(77)
-bool(false)
+Error: 2 - is_subclass_of() expects parameter 2 to be string, array given,
%s(%d)
+NULL
Arg value Array
-Error: 8 - Array to string conversion, %s(77)
-bool(false)
+Error: 2 - is_subclass_of() expects parameter 2 to be string, array given,
%s(%d)
+NULL
Arg value Array
-Error: 8 - Array to string conversion, %s(77)
-bool(false)
+Error: 2 - is_subclass_of() expects parameter 2 to be string, array given,
%s(%d)
+NULL
Arg value Array
-Error: 8 - Array to string conversion, %s(77)
-bool(false)
+Error: 2 - is_subclass_of() expects parameter 2 to be string, array given,
%s(%d)
+NULL
Arg value
bool(false)
@@ -157,12 +157,11 @@
Arg value
bool(false)
-Error: 4096 - Object of class stdClass could not be converted to string, %s(76)
+Error: 4096 - Object of class stdClass could not be converted to string, %s(%d)
Arg value
-Error: 4096 - Object of class stdClass could not be converted to string, %s(77)
-Error: 8 - Object of class stdClass to string conversion, %s(77)
-bool(false)
+Error: 2 - is_subclass_of() expects parameter 2 to be string, object given,
%s(%d)
+NULL
Arg value
bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/method_exists_error_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/method_exists_error_001.phpt
diff -u
php-src/ext/standard/tests/class_object/method_exists_error_001.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/method_exists_error_001.phpt:1.1.4.3
---
php-src/ext/standard/tests/class_object/method_exists_error_001.phpt:1.1.4.2
Thu Mar 6 11:02:37 2008
+++ php-src/ext/standard/tests/class_object/method_exists_error_001.phpt
Wed Jun 18 23:45:36 2008
@@ -30,11 +30,11 @@
-- Testing method_exists() function with more than expected no. of arguments --
-Warning: Wrong parameter count for method_exists() in %s on line 16
+Warning: method_exists() expects exactly 2 parameters, 3 given in %s on line 16
NULL
-- Testing method_exists() function with less than expected no. of arguments --
-Warning: Wrong parameter count for method_exists() in %s on line 21
+Warning: method_exists() expects exactly 2 parameters, 1 given in %s on line 21
NULL
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/class_object/method_exists_variation_002.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/class_object/method_exists_variation_002.phpt
diff -u
php-src/ext/standard/tests/class_object/method_exists_variation_002.phpt:1.1.4.2
php-src/ext/standard/tests/class_object/method_exists_variation_002.phpt:1.1.4.3
---
php-src/ext/standard/tests/class_object/method_exists_variation_002.phpt:1.1.4.2
Thu Mar 6 11:02:37 2008
+++ php-src/ext/standard/tests/class_object/method_exists_variation_002.phpt
Wed Jun 18 23:45:36 2008
@@ -115,24 +115,24 @@
bool(false)
Arg value Array
-Error: 8 - Array to string conversion, %s(77)
-bool(false)
+Error: 2 - method_exists() expects parameter 2 to be string, array given,
%s(77)
+NULL
Arg value Array
-Error: 8 - Array to string conversion, %s(77)
-bool(false)
+Error: 2 - method_exists() expects parameter 2 to be string, array given,
%s(77)
+NULL
Arg value Array
-Error: 8 - Array to string conversion, %s(77)
-bool(false)
+Error: 2 - method_exists() expects parameter 2 to be string, array given,
%s(77)
+NULL
Arg value Array
-Error: 8 - Array to string conversion, %s(77)
-bool(false)
+Error: 2 - method_exists() expects parameter 2 to be string, array given,
%s(77)
+NULL
Arg value Array
-Error: 8 - Array to string conversion, %s(77)
-bool(false)
+Error: 2 - method_exists() expects parameter 2 to be string, array given,
%s(77)
+NULL
Arg value
bool(false)
@@ -160,9 +160,8 @@
Error: 4096 - Object of class stdClass could not be converted to string, %s(76)
Arg value
-Error: 4096 - Object of class stdClass could not be converted to string, %s(77)
-Error: 8 - Object of class stdClass to string conversion, %s(77)
-bool(false)
+Error: 2 - method_exists() expects parameter 2 to be string, object given,
%s(77)
+NULL
Arg value
bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41970.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug41970.phpt
diff -u php-src/ext/standard/tests/general_functions/bug41970.phpt:1.1.2.3
php-src/ext/standard/tests/general_functions/bug41970.phpt:1.1.2.4
--- php-src/ext/standard/tests/general_functions/bug41970.phpt:1.1.2.3 Thu Jan
10 09:38:23 2008
+++ php-src/ext/standard/tests/general_functions/bug41970.phpt Wed Jun 18
23:45:36 2008
@@ -16,12 +16,12 @@
Warning: Parameter 1 to sort() expected to be a reference, value given in
%sbug41970.php on line 5
NULL
-Notice: Array to string conversion in %sbug41970.php on line 6
-int(5)
+Warning: strlen() expects parameter 1 to be string, array given in
%sbug41970.php on line 6
+NULL
Warning: Parameter 1 to sort() expected to be a reference, value given in
%sbug41970.php on line 7
NULL
-Notice: Array to string conversion in %sbug41970.php on line 8
-int(5)
+Warning: strlen() expects parameter 1 to be string, array given in
%sbug41970.php on line 8
+NULL
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strcasecmp.phpt?r1=1.3.2.3&r2=1.3.2.3.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strcasecmp.phpt
diff -u php-src/ext/standard/tests/strings/strcasecmp.phpt:1.3.2.3
php-src/ext/standard/tests/strings/strcasecmp.phpt:1.3.2.3.2.1
--- php-src/ext/standard/tests/strings/strcasecmp.phpt:1.3.2.3 Tue May 1
00:05:39 2007
+++ php-src/ext/standard/tests/strings/strcasecmp.phpt Wed Jun 18 23:45:36 2008
@@ -610,8 +610,8 @@
--- Testing arrays ---
-Notice: Array to string conversion in %s on line %d
-int(%d)
+Warning: strcasecmp() expects parameter 2 to be string, array given in %s on
line %d
+NULL
int(%d)
int(%d)
@@ -653,11 +653,11 @@
int(0)
#### checking error conditions ####
-Warning: Wrong parameter count for strcasecmp() in %s on line %d
+Warning: strcasecmp() expects exactly 2 parameters, 0 given in %s on line %d
-Warning: Wrong parameter count for strcasecmp() in %s on line %d
+Warning: strcasecmp() expects exactly 2 parameters, 1 given in %s on line %d
-Warning: Wrong parameter count for strcasecmp() in %s on line %d
+Warning: strcasecmp() expects exactly 2 parameters, 1 given in %s on line %d
-Warning: Wrong parameter count for strcasecmp() in %s on line %d
+Warning: strcasecmp() expects exactly 2 parameters, 3 given in %s on line %d
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strcmp.phpt?r1=1.3.2.3&r2=1.3.2.3.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strcmp.phpt
diff -u php-src/ext/standard/tests/strings/strcmp.phpt:1.3.2.3
php-src/ext/standard/tests/strings/strcmp.phpt:1.3.2.3.2.1
--- php-src/ext/standard/tests/strings/strcmp.phpt:1.3.2.3 Tue May 1
00:05:39 2007
+++ php-src/ext/standard/tests/strings/strcmp.phpt Wed Jun 18 23:45:36 2008
@@ -591,8 +591,8 @@
--- Testing arrays ---
-Notice: Array to string conversion in %s on line %d
-int(%d)
+Warning: strcmp() expects parameter 2 to be string, array given in %s on line
%d
+NULL
int(%d)
int(%d)
@@ -634,11 +634,11 @@
int(0)
#### checking error conditions ####
-Warning: Wrong parameter count for strcmp() in %s on line %d
+Warning: strcmp() expects exactly 2 parameters, 0 given in %s on line %d
-Warning: Wrong parameter count for strcmp() in %s on line %d
+Warning: strcmp() expects exactly 2 parameters, 1 given in %s on line %d
-Warning: Wrong parameter count for strcmp() in %s on line %d
+Warning: strcmp() expects exactly 2 parameters, 1 given in %s on line %d
-Warning: Wrong parameter count for strcmp() in %s on line %d
+Warning: strcmp() expects exactly 2 parameters, 3 given in %s on line %d
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strlen.phpt?r1=1.1.2.2&r2=1.1.2.2.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strlen.phpt
diff -u php-src/ext/standard/tests/strings/strlen.phpt:1.1.2.2
php-src/ext/standard/tests/strings/strlen.phpt:1.1.2.2.2.1
--- php-src/ext/standard/tests/strings/strlen.phpt:1.1.2.2 Wed Mar 28
09:08:08 2007
+++ php-src/ext/standard/tests/strings/strlen.phpt Wed Jun 18 23:45:36 2008
@@ -196,8 +196,8 @@
--- Testing arrays ---
-Notice: Array to string conversion in %s on line %d
-int(5)
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
+NULL
int(6)
int(20)
@@ -228,9 +228,9 @@
int(1)
#### error conditions ####
-Warning: Wrong parameter count for strlen() in %s on line %d
+Warning: strlen() expects exactly 1 parameter, 0 given in %s on line %d
-Warning: Wrong parameter count for strlen() in %s on line %d
+Warning: strlen() expects exactly 1 parameter, 2 given in %s on line %d
-Warning: Wrong parameter count for strlen() in %s on line %d
+Warning: strlen() expects exactly 1 parameter, 2 given in %s on line %d
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strncasecmp_error.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strncasecmp_error.phpt
diff -u php-src/ext/standard/tests/strings/strncasecmp_error.phpt:1.1.2.1
php-src/ext/standard/tests/strings/strncasecmp_error.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/strings/strncasecmp_error.phpt:1.1.2.1 Fri Sep
14 19:02:07 2007
+++ php-src/ext/standard/tests/strings/strncasecmp_error.phpt Wed Jun 18
23:45:36 2008
@@ -32,18 +32,18 @@
*** Testing strncasecmp() function: error conditions ***
-- Testing strncasecmp() function with Zero arguments --
-Warning: Wrong parameter count for strncasecmp() in %s on line %d
+Warning: strncasecmp() expects exactly 3 parameters, 0 given in %s on line %d
NULL
-- Testing strncasecmp() function with less than expected number of arguments
--
-Warning: Wrong parameter count for strncasecmp() in %s on line %d
+Warning: strncasecmp() expects exactly 3 parameters, 1 given in %s on line %d
NULL
-Warning: Wrong parameter count for strncasecmp() in %s on line %d
+Warning: strncasecmp() expects exactly 3 parameters, 2 given in %s on line %d
NULL
-- Testing strncasecmp() function with more than expected number of arguments
--
-Warning: Wrong parameter count for strncasecmp() in %s on line %d
+Warning: strncasecmp() expects exactly 3 parameters, 4 given in %s on line %d
NULL
-- Testing strncasecmp() function with invalid argument --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strncasecmp_variation10.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strncasecmp_variation10.phpt
diff -u php-src/ext/standard/tests/strings/strncasecmp_variation10.phpt:1.1.2.1
php-src/ext/standard/tests/strings/strncasecmp_variation10.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/strings/strncasecmp_variation10.phpt:1.1.2.1
Fri Sep 14 19:02:07 2007
+++ php-src/ext/standard/tests/strings/strncasecmp_variation10.phpt Wed Jun
18 23:45:36 2008
@@ -129,34 +129,34 @@
int(-%d)
-- Iteration 15 --
-Notice: Array to string conversion in %s on line 88
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
88
-Notice: Array to string conversion in %s on line 89
-int(-%d)
+Warning: strncasecmp() expects parameter 1 to be string, array given in %s on
line 89
+NULL
-- Iteration 16 --
-Notice: Array to string conversion in %s on line 88
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
88
-Notice: Array to string conversion in %s on line 89
-int(-%d)
+Warning: strncasecmp() expects parameter 1 to be string, array given in %s on
line 89
+NULL
-- Iteration 17 --
-Notice: Array to string conversion in %s on line 88
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
88
-Notice: Array to string conversion in %s on line 89
-int(-%d)
+Warning: strncasecmp() expects parameter 1 to be string, array given in %s on
line 89
+NULL
-- Iteration 18 --
-Notice: Array to string conversion in %s on line 88
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
88
-Notice: Array to string conversion in %s on line 89
-int(-%d)
+Warning: strncasecmp() expects parameter 1 to be string, array given in %s on
line 89
+NULL
-- Iteration 19 --
-Notice: Array to string conversion in %s on line 88
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
88
-Notice: Array to string conversion in %s on line 89
-int(-%d)
+Warning: strncasecmp() expects parameter 1 to be string, array given in %s on
line 89
+NULL
-- Iteration 20 --
int(-%d)
-- Iteration 21 --
@@ -178,7 +178,11 @@
-- Iteration 29 --
int(-%d)
-- Iteration 30 --
-int(-%d)
+
+Warning: strlen() expects parameter 1 to be string, resource given in %s on
line 88
+
+Warning: strncasecmp() expects parameter 1 to be string, resource given in %s
on line 89
+NULL
-- Iteration 31 --
int(-%d)
*** Done ***
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strncasecmp_variation11.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strncasecmp_variation11.phpt
diff -u php-src/ext/standard/tests/strings/strncasecmp_variation11.phpt:1.1.2.1
php-src/ext/standard/tests/strings/strncasecmp_variation11.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/strings/strncasecmp_variation11.phpt:1.1.2.1
Fri Sep 14 19:02:07 2007
+++ php-src/ext/standard/tests/strings/strncasecmp_variation11.phpt Wed Jun
18 23:45:36 2008
@@ -130,34 +130,34 @@
int(%d)
-- Iteration 15 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-int(%d)
+Warning: strncasecmp() expects parameter 2 to be string, array given in %s on
line %d
+NULL
-- Iteration 16 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-int(%d)
+Warning: strncasecmp() expects parameter 2 to be string, array given in %s on
line %d
+NULL
-- Iteration 17 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-int(%d)
+Warning: strncasecmp() expects parameter 2 to be string, array given in %s on
line %d
+NULL
-- Iteration 18 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-int(%d)
+Warning: strncasecmp() expects parameter 2 to be string, array given in %s on
line %d
+NULL
-- Iteration 19 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-int(%d)
+Warning: strncasecmp() expects parameter 2 to be string, array given in %s on
line %d
+NULL
-- Iteration 20 --
int(%d)
-- Iteration 21 --
@@ -179,7 +179,11 @@
-- Iteration 29 --
int(%d)
-- Iteration 30 --
-int(%d)
+
+Warning: strlen() expects parameter 1 to be string, resource given in %s on
line %d
+
+Warning: strncasecmp() expects parameter 2 to be string, resource given in %s
on line %d
+NULL
-- Iteration 31 --
-int(%d)
+int(4)
*** Done ***
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strncasecmp_variation4.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strncasecmp_variation4.phpt
diff -u php-src/ext/standard/tests/strings/strncasecmp_variation4.phpt:1.1.2.1
php-src/ext/standard/tests/strings/strncasecmp_variation4.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/strings/strncasecmp_variation4.phpt:1.1.2.1
Fri Sep 14 19:02:07 2007
+++ php-src/ext/standard/tests/strings/strncasecmp_variation4.phpt Wed Jun
18 23:45:36 2008
@@ -130,44 +130,34 @@
int(0)
-- Iteration 15 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-int(0)
+Warning: strncasecmp() expects parameter 1 to be string, array given in %s on
line %d
+NULL
-- Iteration 16 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-int(0)
+Warning: strncasecmp() expects parameter 1 to be string, array given in %s on
line %d
+NULL
-- Iteration 17 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-int(0)
+Warning: strncasecmp() expects parameter 1 to be string, array given in %s on
line %d
+NULL
-- Iteration 18 --
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-int(0)
+Warning: strncasecmp() expects parameter 1 to be string, array given in %s on
line %d
+NULL
-- Iteration 19 --
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-int(0)
+Warning: strncasecmp() expects parameter 1 to be string, array given in %s on
line %d
+NULL
-- Iteration 20 --
int(0)
-- Iteration 21 --
@@ -189,7 +179,11 @@
-- Iteration 29 --
int(0)
-- Iteration 30 --
-int(0)
+
+Warning: strlen() expects parameter 1 to be string, resource given in %s on
line %d
+
+Warning: strncasecmp() expects parameter 1 to be string, resource given in %s
on line %d
+NULL
-- Iteration 31 --
int(0)
*** Done ***
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strncasecmp_variation5.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strncasecmp_variation5.phpt
diff -u php-src/ext/standard/tests/strings/strncasecmp_variation5.phpt:1.1.2.1
php-src/ext/standard/tests/strings/strncasecmp_variation5.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/strings/strncasecmp_variation5.phpt:1.1.2.1
Fri Sep 14 19:02:07 2007
+++ php-src/ext/standard/tests/strings/strncasecmp_variation5.phpt Wed Jun
18 23:45:36 2008
@@ -109,15 +109,25 @@
-- Iteration 7 --
int(0)
-- Iteration 8 --
-int(0)
+
+Warning: strncasecmp() expects parameter 3 to be long, array given in %s on
line %d
+NULL
-- Iteration 9 --
-int(0)
+
+Warning: strncasecmp() expects parameter 3 to be long, array given in %s on
line %d
+NULL
-- Iteration 10 --
-int(0)
+
+Warning: strncasecmp() expects parameter 3 to be long, array given in %s on
line %d
+NULL
-- Iteration 11 --
-int(0)
+
+Warning: strncasecmp() expects parameter 3 to be long, array given in %s on
line %d
+NULL
-- Iteration 12 --
-int(0)
+
+Warning: strncasecmp() expects parameter 3 to be long, array given in %s on
line %d
+NULL
-- Iteration 13 --
int(0)
-- Iteration 14 --
@@ -131,17 +141,23 @@
-- Iteration 18 --
int(0)
-- Iteration 19 --
-int(0)
+
+Warning: strncasecmp() expects parameter 3 to be long, string given in %s on
line %d
+NULL
-- Iteration 20 --
-int(0)
+
+Warning: strncasecmp() expects parameter 3 to be long, string given in %s on
line %d
+NULL
-- Iteration 21 --
int(0)
-- Iteration 22 --
int(0)
-- Iteration 23 --
-int(0)
+
+Warning: strncasecmp() expects parameter 3 to be long, resource given in %s on
line %d
+NULL
-- Iteration 24 --
-Notice: Object of class sample could not be converted to int in %s on line %d
-int(0)
+Warning: strncasecmp() expects parameter 3 to be long, object given in %s on
line %d
+NULL
*** Done ***
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strncmp_error.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strncmp_error.phpt
diff -u php-src/ext/standard/tests/strings/strncmp_error.phpt:1.1.2.1
php-src/ext/standard/tests/strings/strncmp_error.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/strings/strncmp_error.phpt:1.1.2.1 Fri Sep
7 14:20:12 2007
+++ php-src/ext/standard/tests/strings/strncmp_error.phpt Wed Jun 18
23:45:36 2008
@@ -28,16 +28,16 @@
--EXPECTF--
*** Testing strncmp() function: error conditions ***
-Warning: Wrong parameter count for strncmp() in %s on line %d
+Warning: strncmp() expects exactly 3 parameters, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for strncmp() in %s on line %d
+Warning: strncmp() expects exactly 3 parameters, 1 given in %s on line %d
NULL
-Warning: Wrong parameter count for strncmp() in %s on line %d
+Warning: strncmp() expects exactly 3 parameters, 2 given in %s on line %d
NULL
-Warning: Wrong parameter count for strncmp() in %s on line %d
+Warning: strncmp() expects exactly 3 parameters, 4 given in %s on line %d
NULL
Warning: Length must be greater than or equal to 0 in %s on line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strncmp_variation4.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strncmp_variation4.phpt
diff -u php-src/ext/standard/tests/strings/strncmp_variation4.phpt:1.1.2.1
php-src/ext/standard/tests/strings/strncmp_variation4.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/strings/strncmp_variation4.phpt:1.1.2.1 Fri Sep
7 14:20:12 2007
+++ php-src/ext/standard/tests/strings/strncmp_variation4.phpt Wed Jun 18
23:45:36 2008
@@ -133,44 +133,34 @@
int(0)
-- Iteration 15 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-int(0)
+Warning: strncmp() expects parameter 1 to be string, array given in %s on line
%d
+NULL
-- Iteration 16 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-int(0)
+Warning: strncmp() expects parameter 1 to be string, array given in %s on line
%d
+NULL
-- Iteration 17 --
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-int(0)
+Warning: strncmp() expects parameter 1 to be string, array given in %s on line
%d
+NULL
-- Iteration 18 --
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-int(0)
+Warning: strncmp() expects parameter 1 to be string, array given in %s on line
%d
+NULL
-- Iteration 19 --
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
+Warning: strlen() expects parameter 1 to be string, array given in %s on line
%d
-Notice: Array to string conversion in %s on line %d
-int(0)
+Warning: strncmp() expects parameter 1 to be string, array given in %s on line
%d
+NULL
-- Iteration 20 --
int(0)
-- Iteration 21 --
@@ -192,7 +182,11 @@
-- Iteration 29 --
int(0)
-- Iteration 30 --
-int(0)
+
+Warning: strlen() expects parameter 1 to be string, resource given in %s on
line %d
+
+Warning: strncmp() expects parameter 1 to be string, resource given in %s on
line %d
+NULL
-- Iteration 31 --
int(0)
*** Done ***
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strncmp_variation5.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/standard/tests/strings/strncmp_variation5.phpt
diff -u php-src/ext/standard/tests/strings/strncmp_variation5.phpt:1.1.2.1
php-src/ext/standard/tests/strings/strncmp_variation5.phpt:1.1.2.1.2.1
--- php-src/ext/standard/tests/strings/strncmp_variation5.phpt:1.1.2.1 Fri Sep
7 14:20:12 2007
+++ php-src/ext/standard/tests/strings/strncmp_variation5.phpt Wed Jun 18
23:45:36 2008
@@ -123,15 +123,25 @@
-- Iteration 10 --
int(0)
-- Iteration 11 --
-int(0)
+
+Warning: strncmp() expects parameter 3 to be long, array given in%s on line %d
+NULL
-- Iteration 12 --
-int(0)
+
+Warning: strncmp() expects parameter 3 to be long, array given in%s on line %d
+NULL
-- Iteration 13 --
-int(0)
+
+Warning: strncmp() expects parameter 3 to be long, array given in%s on line %d
+NULL
-- Iteration 14 --
-int(0)
+
+Warning: strncmp() expects parameter 3 to be long, array given in%s on line %d
+NULL
-- Iteration 15 --
-int(0)
+
+Warning: strncmp() expects parameter 3 to be long, array given in%s on line %d
+NULL
-- Iteration 16 --
int(0)
-- Iteration 17 --
@@ -145,17 +155,23 @@
-- Iteration 21 --
int(0)
-- Iteration 22 --
-int(0)
+
+Warning: strncmp() expects parameter 3 to be long, string given in%s on line %d
+NULL
-- Iteration 23 --
-int(0)
+
+Warning: strncmp() expects parameter 3 to be long, string given in%s on line %d
+NULL
-- Iteration 24 --
int(0)
-- Iteration 25 --
int(0)
-- Iteration 26 --
-int(0)
+
+Warning: strncmp() expects parameter 3 to be long, resource given in%s on line
%d
+NULL
-- Iteration 27 --
-Notice: Object of class sample could not be converted to int in %s on line %d
-int(0)
+Warning: strncmp() expects parameter 3 to be long, object 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