Home
last modified time | relevance | path

Searched refs:arguments (Results 76 – 100 of 846) sorted by relevance

12345678910>>...34

/php-src/ext/standard/tests/strings/
H A Djoin_error.phpt7 // Less than expected number of arguments
8 echo "\n-- Testing join() with less than expected no. of arguments --\n";
22 -- Testing join() with less than expected no. of arguments --
H A Dchop_variation5.phpt2 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 Dstr_split_basic.phpt11 // 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/standard/tests/array/
H A Darray_walk_error2.phpt54 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 Darray_walk_recursive_error2.phpt54 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 Darray_merge_recursive_variation5.phpt63 // 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 Darray_walk_recursive_variation7.phpt21 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 Darray_walk_variation7.phpt21 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/standard/tests/network/
H A Dfsockopen_basic.phpt24 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/session/tests/user_session_module/
H A Dsession_set_save_handler_class_012.phpt2 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 Dsession_set_save_handler_class_013.phpt2 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/ext/pcntl/tests/
H A Dpcntl_fork_basic.phpt2 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 Dset_handler_trampoline.phpt8 public function __call(string $name, array $arguments) {
10 echo 'Target: ', $arguments[1], PHP_EOL;
11 echo 'Data: ', $arguments[2], PHP_EOL;
/php-src/Zend/tests/
H A Dmagic_methods_serialize.phpt6 static function __serialize($arguments) {}
10 Fatal error: Method Foo::__serialize() cannot take arguments in %s on line %d
H A Dmagic_methods_sleep.phpt2 __sleep cannot take arguments
10 Fatal error: Method Foo::__sleep() cannot take arguments in %s on line %d
H A Dmagic_methods_wakeup.phpt2 __wakeup cannot take arguments
10 Fatal error: Method Foo::__wakeup() cannot take arguments in %s on line %d
H A Derrmsg_019.phpt2 errmsg: __destruct() cannot take arguments
14 Fatal error: Method test::__destruct() cannot take arguments in %s on line %d
H A Derrmsg_015.phpt2 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 Dob_clean_basic_001.phpt7 // Zero arguments
8 echo "\n-- Testing ob_clean() function with Zero arguments --\n";
24 -- Testing ob_clean() function with Zero arguments --
H A Dob_end_flush_basic_001.phpt7 // 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 Dob_flush_basic_001.phpt7 // 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 Dargument_count_incorrect_internal.phpt2 Call internal function with incorrect number of arguments
12 substr() expects at least 2 arguments, 1 given
/php-src/ext/dom/tests/
H A DregisterPhpFunctionNS.phpt9 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 Dlocaltime_basic.phpt13 // 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 Dpi_basic.phpt9 // N.B pi() ignores all specified arguments no error
10 // messages are produced if arguments are spcified.

Completed in 28 milliseconds

12345678910>>...34