/php-src/ext/intl/msgformat/ |
H A D | msgformat_format.c | 32 static void msgfmt_do_format(MessageFormatter_object *mfo, zval *args, zval *return_value) in msgfmt_do_format() argument 37 umsg_format_helper(mfo, Z_ARRVAL_P(args), &formatted, &formatted_len); in msgfmt_do_format() 53 zval *args; in PHP_FUNCTION() local 59 &object, MessageFormatter_ce_ptr, &args ) == FAILURE ) in PHP_FUNCTION() 67 msgfmt_do_format(mfo, args, return_value); in PHP_FUNCTION() 74 zval *args; in PHP_FUNCTION() local 87 &slocale, &slocale_len, &pattern, &pattern_len, &args ) == FAILURE ) in PHP_FUNCTION() 149 msgfmt_do_format(mfo, args, return_value); in PHP_FUNCTION()
|
/php-src/ext/openssl/tests/ |
H A D | openssl_csr_sign_with_serial_hex.phpt | 18 $args = array( 27 $csr = openssl_csr_new($dn, $privkey, $args); 29 var_dump($cert1 = openssl_csr_sign($csr, null, $privkey, 365, $args, 1234567)); 30 var_dump($cert2 = openssl_csr_sign($csr, null, $privkey, 365, $args, serial_hex: 'DEADBEEF')); 31 var_dump($cert3 = openssl_csr_sign($csr, null, $privkey, 365, $args, 10, 'DEADBEEFDEADBEEFDEADBEEFD… 33 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args, 0, 'DEADBEEG')); 34 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args, 0, '0xDEADBEEF')); 35 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args, 0, str_repeat('FF', 500)));
|
/php-src/Zend/tests/variadic/ |
H A D | legal_variadic_override.phpt | 15 public function test1(...$args) {} 16 public function test2(...$args) {} 17 public function test3(int ...$args) {} 18 public function test4(int|string ...$args) {} 19 public function test5(&...$args) {}
|
H A D | basic.phpt | 6 function test1(... $args) { 7 var_dump($args); 14 function test2($arg1, $arg2, ...$args) { 15 var_dump($arg1, $arg2, $args);
|
/php-src/ext/opcache/tests/ |
H A D | jmp_elim_003.phpt | 8 public static function test($args = array()) { 12 $is_ssl = isset( $args['ssl'] ) && $args['ssl']; 21 return apply_filters('use_streams_transport', true, $args);
|
H A D | preload_user_004.phpt | 38 $args = []; 40 $args[] = '-dzend_extension='.ini_get('extension_dir').'/opcache.so'; 43 $args[] = '-dextension='.ini_get('extension_dir').'/posix.so'; 45 $args = [ 46 ...$args, 54 $tester->start($args);
|
H A D | preload_user_005.phpt | 39 $args = []; 41 $args[] = '-dzend_extension='.ini_get('extension_dir').'/opcache.so'; 44 $args[] = '-dextension='.ini_get('extension_dir').'/posix.so'; 46 $args = [ 47 ...$args, 57 $tester->start($args);
|
/php-src/Zend/tests/ |
H A D | bug50383.phpt | 7 public static function __callStatic($method, $args) { 10 public function __call($method, $args) { 49 [args] => Array 65 [args] => Array 82 [args] => Array 98 [args] => Array
|
H A D | debug_backtrace_options.phpt | 79 [args] => Array 90 [args] => Array 110 [args] => Array 125 [args] => Array 142 [args] => Array 154 [args] => Array 174 [args] => Array 189 [args] => Array 206 [args] => Array 218 [args] => Array [all …]
|
H A D | bug50394.phpt | 8 function __call( $name, $args ) { 10 call_user_func_array( 'inc', $args ); 15 $args = array( &$arg ); 17 call_user_func_array( array( $proxy, 'bar' ), $args );
|
H A D | bug52939.phpt | 10 $args = array(&$ar1); 11 var_dump(call_user_func_array("array_multisort", $args)); 15 $args = array($ar1); 16 var_dump(call_user_func_array("array_multisort", $args));
|
H A D | lsb_022.phpt | 9 static function __callstatic($name, $args) { 17 static function __callstatic($name, $args) { 18 parent::__callstatic($name, $args); 19 call_user_func_array("parent::__callstatic", array($name, $args)); 21 call_user_func_array("parent::foo", $args); 22 call_user_func_array(array("parent","foo"), $args);
|
/php-src/ext/opcache/tests/opt/ |
H A D | type_inference_class_consts1.phpt | 48 ; (lines=1, args=0, vars=0, tmps=0) 54 ; (lines=1, args=0, vars=0, tmps=0) 60 ; (lines=1, args=0, vars=0, tmps=0) 66 ; (lines=1, args=0, vars=0, tmps=0) 72 ; (lines=3, args=0, vars=0, tmps=1) 82 ; (lines=1, args=0, vars=0, tmps=0) 88 ; (lines=2, args=0, vars=0, tmps=1)
|
H A D | type_inference_class_consts4.phpt | 49 ; (lines=2, args=0, vars=0, tmps=0) 56 ; (lines=3, args=0, vars=0, tmps=1) 66 ; (lines=3, args=0, vars=0, tmps=1) 76 ; (lines=3, args=0, vars=0, tmps=1) 86 ; (lines=3, args=0, vars=0, tmps=1) 96 ; (lines=1, args=0, vars=0, tmps=0) 102 ; (lines=1, args=0, vars=0, tmps=0)
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_subclass.phpt | 28 public function query(...$args): PDOStatement|false { 30 return parent::query(...$args); 33 public function __call($method, $args) { 34 print "__call(".var_export($method,true).", ".var_export($args, true).")\n"; 44 $args = ''; 45 foreach ($stack[1]['args'] as $k => $v) 46 $args .= sprintf("%s, ", var_export($v, true)); 47 if ($args != '') 48 printf("%s", substr($args, 0, -2));
|
/php-src/ext/hash/ |
H A D | hash_xxhash.c | 40 PHP_HASH_API void PHP_XXH32Init(PHP_XXH32_CTX *ctx, HashTable *args) in PHP_XXH32Init() argument 45 if (args) { in PHP_XXH32Init() 46 zval *seed = zend_hash_str_find_deref(args, "seed", sizeof("seed") - 1); in PHP_XXH32Init() 104 PHP_HASH_API void PHP_XXH64Init(PHP_XXH64_CTX *ctx, HashTable *args) in PHP_XXH64Init() argument 109 if (args) { in PHP_XXH64Init() 110 zval *seed = zend_hash_str_find_deref(args, "seed", sizeof("seed") - 1); in PHP_XXH64Init() 162 if (args) { in _PHP_XXH3_Init() 163 zval *_seed = zend_hash_str_find_deref(args, "seed", sizeof("seed") - 1); in _PHP_XXH3_Init() 164 zval *_secret = zend_hash_str_find_deref(args, "secret", sizeof("secret") - 1); in _PHP_XXH3_Init() 198 PHP_HASH_API void PHP_XXH3_64_Init(PHP_XXH3_64_CTX *ctx, HashTable *args) in PHP_XXH3_64_Init() argument [all …]
|
/php-src/ext/mbstring/tests/ |
H A D | mb_ereg1.phpt | 18 foreach ($a as $args) { 20 var_dump(mb_ereg($args[0], $args[1], $args[2])); 24 var_dump($args);
|
/php-src/ext/standard/tests/file/ |
H A D | bug22414.phpt | 15 $args = ' -n '; 18 passthru($php_escaped . $args . ' -r " echo \"HELLO\"; "'); 23 …$cmd = $php_escaped . $args . ' -r ' . escapeshellarg("readfile(@getenv('TEST_PHP_EXECUTABLE'));"); 25 …$cmd = $php_escaped . $args . ' -r ' . escapeshellarg('passthru("'.$cmd.'");') . ' > '.escapeshell… 27 …$cmd = $php_escaped . $args . ' -r ' . "\"passthru('".addslashes($cmd)."');\"" . ' > '.escapeshell…
|
/php-src/win32/ |
H A D | wsyslog.c | 83 va_list args; in syslog() local 85 va_start(args, message); /* initialize vararg mechanism */ in syslog() 86 vsyslog(priority, message, args); in syslog() 87 va_end(args); in syslog() 90 void vsyslog(int priority, const char *message, va_list args) in vsyslog() argument 116 vspprintf(&tmp, 0, message, args); /* build message */ in vsyslog()
|
/php-src/Zend/tests/attributes/ |
H A D | 004_name_resolution.phpt | 10 $arr[] = ['name' => $attribute->getName(), 'args' => $attribute->getArguments()]; 52 ["args"]=> 62 ["args"]=> 72 ["args"]=> 82 ["args"]=> 92 ["args"]=>
|
/php-src/Zend/tests/arrow_functions/ |
H A D | 007.phpt | 17 assert((fn&(int... $args): ?bool => $args[0])(false)); 25 assert(): assert(fn&(int ...$args): ?bool => $args[0](false)) failed
|
/php-src/ext/filter/tests/ |
H A D | 036.phpt | 14 $args = array(); 15 $args["test1"] = FILTER_VALIDATE_INT; 16 $args["test2"] = FILTER_VALIDATE_INT; 18 $ret = filter_var_array($data, $args);
|
/php-src/ext/standard/ |
H A D | formatted_print.c | 741 zval *args, *zv; in php_formatted_print_get_array() local 753 return args; in php_formatted_print_get_array() 763 zval *args; in PHP_FUNCTION() local 785 zval *args; in PHP_FUNCTION() local 797 efree(args); in PHP_FUNCTION() 812 zval *args; in PHP_FUNCTION() local 837 zval *args; in PHP_FUNCTION() local 849 efree(args); in PHP_FUNCTION() 865 zval *arg1, *args; in PHP_FUNCTION() local 895 zval *arg1, *args; in PHP_FUNCTION() local [all …]
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionFunction_isVariadic_basic.phpt | 6 function test1($args) {} 7 function test2(...$args) {} 8 function test3($arg, ...$args) {}
|
/php-src/ext/standard/tests/general_functions/ |
H A D | bug43293_3.phpt | 9 $args = array(true, false, "f"); 10 var_dump(getopt("f", $args), $args);
|