Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 25 of 846) sorted by relevance

12345678910>>...34

/php-src/ext/standard/tests/array/
H A Darray_key_exists_variation8.phpt98 -- $key arguments are int data:
123 -- $key arguments are unset data:
127 -- $key arguments are int data:
156 -- $key arguments are int data:
185 -- $key arguments are int data:
214 -- $key arguments are int data:
243 -- $key arguments are int data:
272 -- $key arguments are int data:
301 -- $key arguments are int data:
330 -- $key arguments are int data:
[all …]
H A Darray_slice_basic.phpt17 // Calling array_slice() with all possible arguments
18 echo "\n-- All arguments --\n";
21 // Calling array_slice() with mandatory arguments
22 echo "\n-- Mandatory arguments --\n";
30 -- All arguments --
38 -- Mandatory arguments --
H A Darray_map_error.phpt7 // Testing array_map with one less than the expected number of arguments
8 echo "\n-- Testing array_map() function with one less than expected no. of arguments --\n";
18 echo "\n-- Testing array_map() function with less no. of arrays than callback function arguments --…
29 echo "\n-- Testing array_map() function with more no. of arrays than callback function arguments --…
39 -- Testing array_map() function with one less than expected no. of arguments --
40 Exception: array_map() expects at least 2 arguments, 1 given
42 -- Testing array_map() function with less no. of arrays than callback function arguments --
43 Exception: Too few arguments to function callback2(), 1 passed and exactly 2 expected
45 -- Testing array_map() function with more no. of arrays than callback function arguments --
H A Darray_intersect_assoc_variation9.phpt31 // Calling array_intersect_assoc() with default arguments
33 echo "- With default arguments -\n";
36 // Calling array_intersect_assoc() with more arguments
38 echo "- With more arguments -\n";
44 echo "- With default arguments -\n";
47 // Calling array_intersect_assoc() with more arguments
49 echo "- With more arguments -\n";
57 - With default arguments -
90 - With more arguments -
132 - With default arguments -
[all …]
H A Darray_merge_recursive_basic1.phpt12 // Calling array_merge_recursive() without arguments
13 echo "-- Without arguments --\n";
16 // Calling array_merge_recursive() with default arguments
20 // Calling array_merge_recursive() with more arguments
21 echo "-- With more arguments --\n";
29 -- Without arguments --
44 -- With more arguments --
H A Darray_merge_recursive_variation1.phpt96 // with more arguments
97 echo "-- With more arguments --";
117 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given
121 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given
125 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given
129 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given
133 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, float given
153 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, null given
157 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, null given
161 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, true given
[all …]
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_jit_match.c62 arguments->stack = &local_stack; in jit_machine_stack_exec()
63 return executable_func(arguments); in jit_machine_stack_exec()
117 jit_arguments arguments; in pcre2_jit_match()
131 arguments.begin = subject; in pcre2_jit_match()
132 arguments.end = subject + length; in pcre2_jit_match()
133 arguments.match_data = match_data; in pcre2_jit_match()
134 arguments.startchar_ptr = subject; in pcre2_jit_match()
135 arguments.mark_ptr = NULL; in pcre2_jit_match()
136 arguments.options = options; in pcre2_jit_match()
152 arguments.callout = NULL; in pcre2_jit_match()
[all …]
/php-src/ext/standard/tests/strings/
H A Dsprintf_error.phpt7 // Zero arguments
8 echo "\n-- Testing sprintf() function with Zero arguments --\n";
75 -- Testing sprintf() function with Zero arguments --
78 -- Testing sprintf() function with less than expected no. of arguments --
79 2 arguments are required, 1 given
80 3 arguments are required, 2 given
81 4 arguments are required, 3 given
82 3 arguments are required, 1 given
83 4 arguments are required, 2 given
84 4 arguments are required, 1 given
[all …]
H A Dprintf_basic2.phpt17 echo "\n-- Calling printf() with no arguments --\n";
22 echo "\n-- Calling printf() with one arguments--\n";
27 echo "\n-- Calling printf() with two arguments--\n";
32 echo "\n-- Calling printf() with three arguments--\n";
41 -- Calling printf() with no arguments --
45 -- Calling printf() with one arguments--
49 -- Calling printf() with two arguments--
53 -- Calling printf() with three arguments--
H A Dprintf_basic4.phpt17 echo "\n-- Calling printf() with no arguments --\n";
22 echo "\n-- Calling printf() with one arguments--\n";
27 echo "\n-- Calling printf() with two arguments--\n";
32 echo "\n-- Calling printf() with three arguments--\n";
40 -- Calling printf() with no arguments --
44 -- Calling printf() with one arguments--
48 -- Calling printf() with two arguments--
52 -- Calling printf() with three arguments--
H A Dprintf_basic5.phpt17 echo "\n-- Calling printf() with no arguments --\n";
22 echo "\n-- Calling printf() with one arguments --\n";
27 echo "\n-- Calling printf() with two arguments --\n";
32 echo "\n-- Calling printf() with three arguments --\n";
40 -- Calling printf() with no arguments --
44 -- Calling printf() with one arguments --
48 -- Calling printf() with two arguments --
52 -- Calling printf() with three arguments --
H A Dprintf_error.phpt7 // Zero arguments
8 echo "\n-- Testing printf() function with Zero arguments --\n";
15 echo "\n-- Testing printf() function with less than expected no. of arguments --\n";
62 -- Testing printf() function with Zero arguments --
65 -- Testing printf() function with less than expected no. of arguments --
68 2 arguments are required, 1 given
69 3 arguments are required, 2 given
70 4 arguments are required, 3 given
73 3 arguments are required, 1 given
74 4 arguments are required, 2 given
[all …]
H A Dprintf_basic7.phpt23 echo "\n-- Calling printf() with no arguments --\n";
28 echo "\n-- Calling printf() with one arguments --\n";
33 echo "\n-- Calling printf() with two arguments --\n";
38 echo "\n-- Calling printf() with three arguments --\n";
47 -- Calling printf() with no arguments --
51 -- Calling printf() with one arguments --
55 -- Calling printf() with two arguments --
59 -- Calling printf() with three arguments --
H A Dprintf_basic8.phpt22 echo "\n-- Calling printf() with no arguments --\n";
27 echo "\n-- Calling printf() with one arguments --\n";
32 echo "\n-- Calling printf() with two arguments --\n";
37 echo "\n-- Calling printf() with three arguments --\n";
46 -- Calling printf() with no arguments --
50 -- Calling printf() with one arguments --
54 -- Calling printf() with two arguments --
58 -- Calling printf() with three arguments --
H A Dprintf_basic1.phpt16 echo "\n-- Calling printf() with no arguments --\n";
21 echo "\n-- Calling printf() with one arguments --\n";
26 echo "\n-- Calling printf() with two arguments --\n";
32 echo "\n-- Calling printf() with string three arguments --\n";
41 -- Calling printf() with no arguments --
45 -- Calling printf() with one arguments --
49 -- Calling printf() with two arguments --
53 -- Calling printf() with string three arguments --
H A Dprintf_basic3.phpt22 echo "\n-- Calling printf() with no arguments--\n";
27 echo "\n-- Calling printf() with one arguments--\n";
35 echo "\n-- Calling printf() with two arguments--\n";
43 echo "\n-- Calling printf() with three arguments--\n";
55 -- Calling printf() with no arguments--
59 -- Calling printf() with one arguments--
65 -- Calling printf() with two arguments--
71 -- Calling printf() with three arguments--
H A Dprintf_basic9.phpt23 echo "\n-- Calling printf() with no arguments --\n";
28 echo "\n-- Calling printf() with one arguments --\n";
36 echo "\n-- Calling printf() with two arguments --\n";
44 echo "\n-- Calling printf() with three arguments --\n";
56 -- Calling printf() with no arguments --
60 -- Calling printf() with one arguments --
66 -- Calling printf() with two arguments --
72 -- Calling printf() with three arguments --
H A Dsubstr.phpt10 /* variations with two arguments */
19 /* variations with three arguments */
68 -- Variations for two arguments --
73 -- Variations for three arguments --
86 -- Variations for two arguments --
91 -- Variations for three arguments --
104 -- Variations for two arguments --
109 -- Variations for three arguments --
122 -- Variations for two arguments --
127 -- Variations for three arguments --
[all …]
H A Dstrtok_variation5.phpt69 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
72 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
75 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
78 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
81 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
127 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
130 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
133 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
136 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
139 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
[all …]
H A Dstrtok_variation3.phpt84 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
87 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
90 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
93 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
96 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
99 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
102 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
105 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
108 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
111 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d
[all …]
/php-src/Zend/tests/
H A Dbug77339.phpt2 Bug #77339 (__callStatic may get incorrect arguments)
7 static function __callStatic($name, $arguments) {
9 if (!isset($arguments[0])) {
11 var_dump($arguments);
25 static function __callStatic($name, $arguments) {
H A Dcall_static.phpt9 echo $fname, '() called with ', count($args), " arguments\n";
18 Two() called with 2 arguments
19 Three() called with 3 arguments
20 Four() called with 4 arguments
H A Dmagic_methods_inheritance_rules.phpt6 public function __call(string $name, array $arguments): mixed {}
8 public static function __callStatic(string $name, array $arguments): mixed {}
16 public function __invoke(mixed $arguments): mixed {}
38 public function __call(string $name, array $arguments): string|float|null {}
40 public static function __callStatic(string $name, array $arguments): ?array {}
46 public function __invoke(mixed $arguments): object {}
50 public function __call(string|array $name, array|string $arguments): string|float|null {}
52 public static function __callStatic(string|object $name, array|object $arguments): ?array {}
/php-src/ext/zend_test/tests/
H A Dvariadic_arguments.phpt2 Verify that variadic arguments create proper stub
9 $arguments = $reflection->getParameters();
11 echo (string) $arguments[0], "\n";
12 var_dump($arguments[0]->isVariadic());
14 $type = $arguments[0]->getType();
/php-src/ext/spl/tests/
H A DarrayObject___construct_error2.phpt2 SPL: ArrayObject::__construct with too many arguments.
5 echo "Too many arguments:\n";
21 Too many arguments:
22 ArrayObject::__construct() expects at most 3 arguments, 4 given(12)

Completed in 45 milliseconds

12345678910>>...34