/php-src/ext/standard/tests/array/ |
H A D | array_walk_error2.phpt | 54 Exception: Too few arguments to function callback1(), 2 passed and exactly 3 expected 55 Exception: Too few arguments to function callback2(), 3 passed and exactly 4 expected 56 Exception: Too few arguments to function callback1(), 2 passed and exactly 3 expected 57 Exception: Too few arguments to function callback2(), 3 passed and exactly 4 expected 59 Exception: array_walk() expects at most 3 arguments, 4 given
|
H A D | array_walk_recursive_error2.phpt | 54 Exception: Too few arguments to function callback1(), 2 passed and exactly 3 expected 55 Exception: Too few arguments to function callback2(), 3 passed and exactly 4 expected 56 Exception: Too few arguments to function callback1(), 2 passed and exactly 3 expected 57 Exception: Too few arguments to function callback2(), 3 passed and exactly 4 expected 59 Exception: array_walk_recursive() expects at most 3 arguments, 4 given
|
H A D | array_merge_recursive_variation5.phpt | 63 // with more arguments 64 echo "-- With more arguments --\n"; 85 -- With more arguments -- 119 -- With more arguments -- 160 -- With more arguments -- 206 -- With more arguments -- 249 -- With more arguments -- 287 -- With more arguments -- 323 -- With more arguments -- 366 -- With more arguments --
|
H A D | array_walk_recursive_variation7.phpt | 21 echo "-- Anonymous function with two arguments --\n"; 24 echo "-- Anonymous function with three arguments --\n"; 43 -- Anonymous function with two arguments -- 57 -- Anonymous function with three arguments --
|
H A D | array_walk_variation7.phpt | 21 echo "-- Anonymous function with two arguments --\n"; 24 echo "-- Anonymous function with three arguments --\n"; 43 -- Anonymous function with two arguments -- 57 -- Anonymous function with three arguments --
|
/php-src/ext/pcntl/tests/ |
H A D | pcntl_fork_basic.phpt | 2 Test function pcntl_fork() by calling it with its expected arguments 12 echo "*** Test by calling method or function with its expected arguments, first print the child PID… 23 *** Test by calling method or function with its expected arguments, first print the child PID and t…
|
/php-src/ext/xml/tests/ |
H A D | set_handler_trampoline.phpt | 8 public function __call(string $name, array $arguments) { 10 echo 'Target: ', $arguments[1], PHP_EOL; 11 echo 'Data: ', $arguments[2], PHP_EOL;
|
/php-src/ext/standard/tests/network/ |
H A D | fsockopen_basic.phpt | 24 echo "\nCalling fsockopen() with all possible arguments:\n"; 29 echo "\nCalling fsockopen() with mandatory arguments:\n"; 46 Calling fsockopen() with all possible arguments: 49 Calling fsockopen() with mandatory arguments:
|
/php-src/ext/standard/tests/strings/ |
H A D | chop_variation5.phpt | 2 Test chop() function : usage variations - miscellaneous arguments 6 * Testing chop() : with miscellaneous arguments 9 echo "*** Testing chop() : with miscellaneous arguments ***\n"; 23 *** Testing chop() : with miscellaneous arguments ***
|
H A D | str_split_basic.phpt | 11 // Calling str_split() with all possible arguments 12 echo "-- With all possible arguments --\n"; 15 // Calling str_split() with default arguments 27 -- With all possible arguments --
|
/php-src/ext/session/tests/user_session_module/ |
H A D | session_set_save_handler_class_012.phpt | 2 Test session_set_save_handler() : incorrect arguments for existing handler open 14 echo "*** Testing session_set_save_handler() : incorrect arguments for existing handler open ***\n"; 44 *** Testing session_set_save_handler() : incorrect arguments for existing handler open *** 46 SessionHandler::open() expects exactly 2 arguments, 0 given
|
H A D | session_set_save_handler_class_013.phpt | 2 Test session_set_save_handler() : incorrect arguments for existing handler close 13 echo "*** Testing session_set_save_handler() : incorrect arguments for existing handler close ***\n… 40 *** Testing session_set_save_handler() : incorrect arguments for existing handler close *** 50 Fatal error: Uncaught ArgumentCountError: SessionHandler::close() expects exactly 0 arguments, 1 gi…
|
/php-src/Zend/tests/ |
H A D | magic_methods_serialize.phpt | 6 static function __serialize($arguments) {} 10 Fatal error: Method Foo::__serialize() cannot take arguments in %s on line %d
|
H A D | magic_methods_sleep.phpt | 2 __sleep cannot take arguments 10 Fatal error: Method Foo::__sleep() cannot take arguments in %s on line %d
|
H A D | magic_methods_wakeup.phpt | 2 __wakeup cannot take arguments 10 Fatal error: Method Foo::__wakeup() cannot take arguments in %s on line %d
|
H A D | errmsg_019.phpt | 2 errmsg: __destruct() cannot take arguments 14 Fatal error: Method test::__destruct() cannot take arguments in %s on line %d
|
H A D | errmsg_015.phpt | 2 errmsg: __clone() cannot accept any arguments 14 Fatal error: Method test::__clone() cannot take arguments in %s on line %d
|
/php-src/tests/output/ |
H A D | ob_clean_basic_001.phpt | 7 // Zero arguments 8 echo "\n-- Testing ob_clean() function with Zero arguments --\n"; 24 -- Testing ob_clean() function with Zero arguments --
|
H A D | ob_end_flush_basic_001.phpt | 7 // Zero arguments 8 echo "\n-- Testing ob_end_flush() function with Zero arguments --\n"; 25 -- Testing ob_end_flush() function with Zero arguments --
|
H A D | ob_flush_basic_001.phpt | 7 // Zero arguments 8 echo "\n-- Testing ob_flush() function with Zero arguments --\n"; 25 -- Testing ob_flush() function with Zero arguments --
|
/php-src/Zend/tests/function_arguments/ |
H A D | argument_count_incorrect_internal.phpt | 2 Call internal function with incorrect number of arguments 12 substr() expects at least 2 arguments, 1 given
|
H A D | argument_count_incorrect_userland_strict.phpt | 2 Call userland function with incorrect number of arguments with strict types 47 Too few arguments to function foo(), 0 passed in %s and exactly 1 expected 49 Too few arguments to function bar(), 1 passed in %s and exactly 2 expected 51 Too few arguments to function bat(), 1 passed in %s and exactly 2 expected
|
/php-src/ext/dom/tests/ |
H A D | registerPhpFunctionNS.phpt | 9 public static function __callStatic(string $name, array $arguments): mixed { 10 var_dump($name, $arguments); 11 return strtoupper($arguments[0]); 18 public function __call(string $name, array $arguments): mixed { 19 $this->state[] = [$name, $arguments[0]]; 20 return $arguments[0];
|
/php-src/ext/date/tests/ |
H A D | localtime_basic.phpt | 13 // Calling localtime() with all possible arguments 16 // Calling localtime() with possible optional arguments 19 // Calling localtime() with mandatory arguments
|
/php-src/ext/standard/tests/math/ |
H A D | pi_basic.phpt | 9 // N.B pi() ignores all specified arguments no error 10 // messages are produced if arguments are spcified.
|