/PHP-8.2/ext/standard/tests/strings/ |
H A D | sscanf_basic8.phpt | 12 echo "\n-- Try sccanf() WITHOUT optional args --\n"; 19 echo "\n-- Try sccanf() WITH optional args --\n"; 30 -- Try sccanf() WITHOUT optional args -- 44 -- Try sccanf() WITH optional args --
|
/PHP-8.2/benchmark/ |
H A D | benchmark.php | 92 function runPhpCommand(array $args, ?string $cwd = null): ProcessResult { argument 93 return runCommand([PHP_BINARY, ...$args], $cwd); 98 array $args, argument 124 ...$args,
|
/PHP-8.2/ext/soap/tests/bugs/ |
H A D | bug49278.phpt | 18 $args = ["-d", "extension_dir=" . ini_get("extension_dir"), "-d", "extension=" . (substr(PHP_OS, 0,… 21 $args[] = "-c"; 22 $args[] = php_ini_loaded_file(); 31 php_cli_server_start($code, null, $args);
|
/PHP-8.2/Zend/tests/variadic/ |
H A D | by_ref.phpt | 6 function test(&... $args) { 8 foreach ($args as &$arg) {
|
H A D | typehint_suppressed_error.phpt | 6 function test(array... $args) { 7 var_dump($args);
|
H A D | illegal_variadic_override_ref.phpt | 11 public function test(...$args) {} 16 Fatal error: Declaration of B::test(...$args) must be compatible with A::test(&$a, &$b) in %s on li…
|
/PHP-8.2/ext/hash/ |
H A D | php_hash_murmur.h | 27 PHP_HASH_API void PHP_MURMUR3AInit(PHP_MURMUR3A_CTX *ctx, HashTable *args); 39 PHP_HASH_API void PHP_MURMUR3CInit(PHP_MURMUR3C_CTX *ctx, HashTable *args); 51 PHP_HASH_API void PHP_MURMUR3FInit(PHP_MURMUR3F_CTX *ctx, HashTable *args);
|
/PHP-8.2/ext/spl/tests/ |
H A D | arrayObject_magicMethods2.phpt | 13 $args = func_get_args(); 14 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 17 $args = func_get_args(); 18 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 21 $args = func_get_args(); 22 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 25 $args = func_get_args(); 26 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
|
H A D | arrayObject_magicMethods4.phpt | 18 $args = func_get_args(); 19 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 22 $args = func_get_args(); 23 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 26 $args = func_get_args(); 27 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 30 $args = func_get_args(); 31 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
|
H A D | arrayObject_magicMethods5.phpt | 18 $args = func_get_args(); 19 echo "In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; 22 $args = func_get_args(); 23 echo "In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; 26 $args = func_get_args(); 27 echo "In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; 30 $args = func_get_args(); 31 echo "In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
|
H A D | arrayObject_magicMethods6.phpt | 18 $args = func_get_args(); 19 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 22 $args = func_get_args(); 23 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 26 $args = func_get_args(); 27 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 30 $args = func_get_args(); 31 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
|
/PHP-8.2/Zend/tests/arg_unpack/ |
H A D | by_ref_separation.phpt | 6 function inc(&... $args) { 7 foreach ($args as &$arg) {
|
H A D | non_integer_keys.phpt | 5 function foo(...$args) { 6 var_dump($args);
|
/PHP-8.2/Zend/tests/ |
H A D | magic_methods_018.phpt | 6 static function __callStatic(string $name, \Arguments $args) {} 10 Fatal error: Foo::__callStatic(): Parameter #2 ($args) must be of type array when declared in %s on…
|
H A D | call_static.phpt | 7 static function __callStatic($fname, $args) 9 echo $fname, '() called with ', count($args), " arguments\n";
|
/PHP-8.2/Zend/tests/named_params/ |
H A D | call_user_func_array_variadic.phpt | 5 $args = array("" => 1); 6 call_user_func_array("array_multisort", $args);
|
/PHP-8.2/ext/standard/tests/file/ |
H A D | tempnam_variation3-win32.phpt | 12 /* Passing invalid/non-existing args for $prefix */ 25 /* Valid args (casting)*/ 32 /* Invalid args */ 35 /* Valid args*/ 42 /* Invalid args */
|
/PHP-8.2/ext/intl/converter/ |
H A D | converter.c | 163 if (TARGET_CHECK(args, 2)) { in php_converter_append_toUnicode_target() 171 if (TARGET_CHECK(args, 1)) { in php_converter_append_toUnicode_target() 172 *(args->target++) = (UChar)lval; in php_converter_append_toUnicode_target() 181 while((i != strlen) && TARGET_CHECK(args, 1)) { in php_converter_append_toUnicode_target() 184 *(args->target++) = c; in php_converter_append_toUnicode_target() 216 if (args->source) { in php_converter_to_u_callback() 217 ZVAL_STRINGL(&zargs[1], args->source, args->sourceLimit - args->source); in php_converter_to_u_callback() 260 if (TARGET_CHECK(args, 1)) { in php_converter_append_fromUnicode_target() 261 *(args->target++) = Z_LVAL_P(val); in php_converter_append_fromUnicode_target() 267 if (TARGET_CHECK(args, vallen)) { in php_converter_append_fromUnicode_target() [all …]
|
/PHP-8.2/ext/opcache/tests/opt/ |
H A D | block_pass_001.phpt | 14 return is_callable($callback) ? $callback : function (...$args) use ($callback) { 17 ->join(...$args);
|
/PHP-8.2/ext/reflection/tests/ |
H A D | bug80299.phpt | 7 $args = [1, &$bar]; 11 (new ReflectionFunction($function))->invokeArgs($args);
|
H A D | ReflectionFiber_basic.phpt | 61 ["args"]=> 69 ["args"]=> 92 ["args"]=> 100 ["args"]=>
|
H A D | new_in_attributes.phpt | 27 // Check that named args work: 34 $args = $ra->getArguments(); 36 var_dump($args, $obj);
|
/PHP-8.2/sapi/phpdbg/tests/ |
H A D | print_001.phpt | 16 ; (lines=8, args=1, vars=1, tmps=2) 29 ; (lines=5, args=1, vars=1, tmps=1) 38 ; (lines=1, args=0, vars=0, tmps=0) 45 ; (lines=9, args=0, vars=0, tmps=4)
|
/PHP-8.2/Zend/ |
H A D | zend_attributes.c | 201 ZVAL_COPY_OR_DUP(ret, &attr->args[i].value); in zend_get_attribute_value() 263 if (attr->args[i].name) { in attr_free() 264 zend_string_release(attr->args[i].name); in attr_free() 267 zval_internal_ptr_dtor(&attr->args[i].value); in attr_free() 269 zval_ptr_dtor(&attr->args[i].value); in attr_free() 300 attr->args[i].name = NULL; in zend_add_attribute() 301 ZVAL_UNDEF(&attr->args[i].value); in zend_add_attribute() 327 internal_attr->flags = Z_LVAL(attr->args[0].value); in zend_mark_internal_attribute() 344 ZVAL_LONG(&attr->args[0].value, flags); in zend_internal_attribute_register()
|
/PHP-8.2/ext/intl/calendar/ |
H A D | calendar_methods.cpp | 372 zend_long args[6]; in PHP_FUNCTION() local 390 &object, Calendar_ce_ptr, &args[0], &args[1], &args[2], &args[3], &args[4], &args[5] in PHP_FUNCTION() 397 ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(args[i], i + 1); in PHP_FUNCTION() 403 ZEND_VALUE_ERROR_INVALID_FIELD(args[0], 2); in PHP_FUNCTION() 404 co->ucal->set((UCalendarDateFields)args[0], (int32_t)args[1]); in PHP_FUNCTION() 406 co->ucal->set((int32_t)args[0], (int32_t)args[1], (int32_t)args[2]); in PHP_FUNCTION() 411 …co->ucal->set((int32_t)args[0], (int32_t)args[1], (int32_t)args[2], (int32_t)args[3], (int32_t)arg… in PHP_FUNCTION() 413 …co->ucal->set((int32_t)args[0], (int32_t)args[1], (int32_t)args[2], (int32_t)args[3], (int32_t)arg… in PHP_FUNCTION()
|