/php-src/ext/opcache/tests/match/ |
H A D | 002.phpt | 34 ; (lines=5, args=0, vars=0, tmps=0) 44 ; (lines=2, args=0, vars=0, tmps=0) 52 ; (lines=2, args=0, vars=0, tmps=0)
|
/php-src/ext/opcache/tests/opt/ |
H A D | dce_006.phpt | 24 ; (lines=1, args=0, vars=0, tmps=0) 30 ; (lines=7, args=1, vars=2, tmps=1) 44 ; (lines=1, args=0, vars=0, tmps=0)
|
H A D | block_pass_001.phpt | 14 return is_callable($callback) ? $callback : function (...$args) use ($callback) { 17 ->join(...$args);
|
/php-src/Zend/tests/arg_unpack/ |
H A D | new.phpt | 7 public function __construct(...$args) { 8 var_dump($args);
|
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-src/Zend/tests/enum/ |
H A D | __callStatic.phpt | 7 public static function __callStatic(string $name, array $args) 9 return [$name, $args];
|
H A D | __call.phpt | 9 public function __call(string $name, array $args) 11 return [$name, $args];
|
/php-src/Zend/tests/ |
H A D | vm_stack_with_arg_extend.phpt | 6 function f(...$args) { 7 var_dump(count($args));
|
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…
|
/php-src/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-src/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-src/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-src/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);
|
/php-src/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-src/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";
|
/php-src/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-src/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-src/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-src/sapi/phpdbg/tests/ |
H A D | print_001.phpt | 16 ; (lines=8, args=1, vars=1, tmps=%d) 29 ; (lines=5, args=1, vars=1, tmps=%d) 38 ; (lines=1, args=0, vars=0, tmps=%d) 45 ; (lines=9, args=0, vars=0, tmps=%d)
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionFiber_basic.phpt | 61 ["args"]=> 69 ["args"]=> 92 ["args"]=> 100 ["args"]=>
|
H A D | bug80299.phpt | 7 $args = [1, &$bar]; 11 (new ReflectionFunction($function))->invokeArgs($args);
|
/php-src/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()
|