mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
Fix tests (new error message for void parameters)
This commit is contained in:
parent
9324869ef5
commit
1db52c1c5f
@ -32,7 +32,7 @@ array(2) {
|
||||
string(%d) "%s"
|
||||
}
|
||||
|
||||
Warning: Wrong parameter count for get_included_files() in %s on line %d
|
||||
Warning: get_included_files() expects exactly 0 parameters, 2 given in %s on line %d
|
||||
NULL
|
||||
array(2) {
|
||||
[0]=>
|
||||
@ -41,7 +41,7 @@ array(2) {
|
||||
string(%d) "%s"
|
||||
}
|
||||
|
||||
Warning: Wrong parameter count for get_included_files() in %s on line %d
|
||||
Warning: get_included_files() expects exactly 0 parameters, 1 given in %s on line %d
|
||||
NULL
|
||||
array(2) {
|
||||
[0]=>
|
||||
|
@ -50,6 +50,6 @@ array(18) {
|
||||
string(8) "callback"
|
||||
}
|
||||
|
||||
Warning: Wrong parameter count for filter_list() in %s on line %d
|
||||
Warning: filter_list() expects exactly 0 parameters, 1 given in %s on line %d
|
||||
NULL
|
||||
Done
|
||||
|
@ -22,6 +22,6 @@ echo "Done";
|
||||
|
||||
-- Testing get_declared_classes() function with one argument --
|
||||
|
||||
Warning: Wrong parameter count for get_declared_classes() in %s on line 13
|
||||
Warning: get_declared_classes() expects exactly 0 parameters, 1 given in %s on line 13
|
||||
NULL
|
||||
Done
|
||||
Done
|
||||
|
@ -22,6 +22,6 @@ echo "Done";
|
||||
|
||||
-- Testing get_declared_interfaces() function with one argument --
|
||||
|
||||
Warning: Wrong parameter count for get_declared_interfaces() in %s on line 13
|
||||
Warning: get_declared_interfaces() expects exactly 0 parameters, 1 given in %s on line 13
|
||||
NULL
|
||||
Done
|
||||
Done
|
||||
|
@ -24,6 +24,6 @@ var_dump( getcwd($extra_arg) );
|
||||
|
||||
-- Testing getcwd() function with one argument --
|
||||
|
||||
Warning: Wrong parameter count for getcwd() in %s on line %d
|
||||
Warning: getcwd() expects exactly 0 parameters, 1 given in %s on line %d
|
||||
NULL
|
||||
===DONE===
|
||||
|
Loading…
Reference in New Issue
Block a user