/PHP-8.1/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-8.1/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-8.1/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);
|
/PHP-8.1/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 | 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 | 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 | 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 | bug53826.phpt | 7 public function __call($method, $args) { echo "__call\n"; } 8 public static function __callStatic($method, $args) { echo "__callStatic\n"; } 12 public function __call($method, $args) { echo "__call\n"; } 13 public static function __callStatic($method, $args) { echo "__callStatic\n"; }
|
/PHP-8.1/Zend/tests/arrow_functions/ |
H A D | 007.phpt | 11 assert((fn&(int... $args): ?bool => $args[0])(false)); 17 Warning: assert(): assert(fn&(int ...$args): ?bool => $args[0](false)) failed in %s on line %d
|
/PHP-8.1/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-8.1/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-8.1/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-8.1/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-8.1/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-8.1/ext/dba/ |
H A D | dba.c | 501 #define FREENOW if(args) {int i; for (i=0; i<ac; i++) { zval_ptr_dtor(&args[i]); } efree(args);} if… 530 zval *args = NULL; in php_dba_open() local 556 efree(args); in php_dba_open() 562 ZVAL_STR(&args[i], zval_get_string(&args[i])); in php_dba_open() 563 keylen += Z_STRLEN(args[i]); in php_dba_open() 581 memcpy(key+keylen, Z_STRVAL(args[i]), Z_STRLEN(args[i])); in php_dba_open() 582 keylen += Z_STRLEN(args[i]); in php_dba_open() 613 …php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "No such handler: %s", Z_… in php_dba_open() 721 php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "Illegal DBA mode"); in php_dba_open() 753 php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "Illegal DBA mode"); in php_dba_open() [all …]
|
/PHP-8.1/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-8.1/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-8.1/ext/reflection/tests/ |
H A D | ReflectionFunction_isVariadic_basic.phpt | 6 function test1($args) {} 7 function test2(...$args) {} 8 function test3($arg, ...$args) {}
|
H A D | ReflectionParameter_isVariadic_basic.phpt | 6 function test1($args) {} 7 function test2(...$args) {} 8 function test3($arg, ...$args) {}
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | bug43293_3.phpt | 9 $args = array(true, false, "f"); 10 var_dump(getopt("f", $args), $args);
|
/PHP-8.1/ext/xml/ |
H A D | xml.c | 632 zval retval, args[3]; in _xml_startElementHandler() local 642 array_init(&args[2]); in _xml_startElementHandler() 719 zval retval, args[2]; in _xml_endElementHandler() local 768 zval retval, args[2]; in _xml_characterDataHandler() local 866 zval retval, args[3]; in _xml_processingInstructionHandler() local 883 zval retval, args[2]; in _xml_defaultHandler() local 904 zval retval, args[6]; in _xml_unparsedEntityDeclHandler() local 928 zval retval, args[5]; in _xml_notationDeclHandler() local 952 zval retval, args[5]; in _xml_externalEntityRefHandler() local 977 zval retval, args[3]; in _xml_startNamespaceDeclHandler() local [all …]
|
/PHP-8.1/ext/intl/tests/ |
H A D | gh8364.phpt | 10 $args = ['string', 'string']; 11 foreach ($args as &$arg) { 14 $result = $formatter->format($args);
|
/PHP-8.1/ext/phar/phar/ |
H A D | pharcommand.inc | 172 $args = array(); 184 return $args; 479 return $args; 864 return $args; 998 return $args; 1052 return $args; 1094 return $args; 1142 * @see $this->args 1324 * @see $this->args 1466 * @param args $args [all …]
|
/PHP-8.1/ext/dom/ |
H A D | documentfragment.c | 140 zval *args, *id; in PHP_METHOD() local 144 if (zend_parse_parameters(ZEND_NUM_ARGS(), "*", &args, &argc) == FAILURE) { in PHP_METHOD() 151 dom_parent_node_append(intern, args, argc); in PHP_METHOD() 161 zval *args, *id; in PHP_METHOD() local 165 if (zend_parse_parameters(ZEND_NUM_ARGS(), "*", &args, &argc) == FAILURE) { in PHP_METHOD() 172 dom_parent_node_prepend(intern, args, argc); in PHP_METHOD()
|