Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 582) sorted by relevance

12345678910>>...24

/PHP-8.4/sapi/fuzzer/
H A Dfuzzer-mbregex.c33 char *args[2]; in LLVMFuzzerTestOneInput() local
44 args[0] = data; in LLVMFuzzerTestOneInput()
45 args[1] = "test123"; in LLVMFuzzerTestOneInput()
46 fuzzer_call_php_func("mb_ereg", 2, args); in LLVMFuzzerTestOneInput()
48 args[0] = data; in LLVMFuzzerTestOneInput()
49 args[1] = "test123"; in LLVMFuzzerTestOneInput()
52 args[0] = data; in LLVMFuzzerTestOneInput()
53 args[1] = data; in LLVMFuzzerTestOneInput()
54 fuzzer_call_php_func("mb_ereg", 2, args); in LLVMFuzzerTestOneInput()
56 args[0] = data; in LLVMFuzzerTestOneInput()
[all …]
H A Dfuzzer-unserializehash.c60 zval args[2]; in LLVMFuzzerTestOneInput() local
61 ZVAL_COPY_VALUE(&args[0], &result); in LLVMFuzzerTestOneInput()
62 ZVAL_STRINGL(&args[1], (char *) Data, (Start - Data) - 1); in LLVMFuzzerTestOneInput()
63 fuzzer_call_php_func_zval("hash_update", 2, args); in LLVMFuzzerTestOneInput()
64 zval_ptr_dtor(&args[1]); in LLVMFuzzerTestOneInput()
65 fuzzer_call_php_func_zval("hash_final", 1, args); in LLVMFuzzerTestOneInput()
/PHP-8.4/ext/session/
H A Dmod_user.c84 zval args[2]; in PS_OPEN_FUNC() local
145 zval args[1]; in PS_READ_FUNC() local
151 ZVAL_STR_COPY(&args[0], key); in PS_READ_FUNC()
168 zval args[2]; in PS_WRITE_FUNC() local
174 ZVAL_STR_COPY(&args[0], key); in PS_WRITE_FUNC()
175 ZVAL_STR_COPY(&args[1], val); in PS_WRITE_FUNC()
186 zval args[1]; in PS_DESTROY_FUNC() local
192 ZVAL_STR_COPY(&args[0], key); in PS_DESTROY_FUNC()
203 zval args[1]; in PS_GC_FUNC() local
259 zval args[1]; in PS_VALIDATE_SID_FUNC() local
[all …]
/PHP-8.4/Zend/tests/function_arguments/
H A Dsensitive_parameter_correctly_captures_original.phpt21 var_dump(count($testFrame['args']));
22 var_dump($testFrame['args'][0]);
23 assert($testFrame['args'][1] instanceof SensitiveParameterValue);
24 var_dump($testFrame['args'][1]->getValue());
25 var_dump($testFrame['args'][2]);
43 var_dump(count($testFrame['args']));
44 var_dump($testFrame['args'][0]);
45 assert($testFrame['args'][1] instanceof SensitiveParameterValue);
46 var_dump($testFrame['args'][1]->getValue());
48 var_dump($testFrame['args'][2]->getValue());
[all …]
H A Dcall_with_trailing_comma_basic.phpt5 function foo(...$args) {
7 var_dump($args);
16 public function __construct(...$args) {
18 var_dump($args);
21 public function bar(...$args) {
23 var_dump($args);
26 public function __invoke(...$args) {
28 var_dump($args);
47 $bar = function(...$args) {
49 var_dump($args);
/PHP-8.4/ext/standard/tests/class_object/
H A Dbug71442.phpt10 $args = func_get_args();
11 echo static::NAME, " ".join(',', $args)." \n";
21 forward_static_call(array('A', 'test'), 'more', 'args');
22 forward_static_call( 'test', 'other', 'args');
29 $args = func_get_args();
30 echo "C ".join(',', $args)." \n";
36 B more,args
37 C other,args
/PHP-8.4/main/streams/
H A Duserspace.c299 zval args[4]; in user_wrapper_opener() local
400 zval args[2]; in user_wrapper_opendir() local
569 zval args[1]; in php_userstreamop_write() local
616 zval args[1]; in php_userstreamop_read() local
743 zval args[2]; in php_userstreamop_seek() local
872 zval args[3]; in php_userstreamop_set_option() local
1036 zval args[1]; in user_wrapper_unlink() local
1075 zval args[2]; in user_wrapper_rename() local
1116 zval args[3]; in user_wrapper_mkdir() local
1159 zval args[2]; in user_wrapper_rmdir() local
[all …]
/PHP-8.4/Zend/tests/
H A Dcall_user_func_array_prefer_ref.phpt9 $args = [[3, 2, 1]];
10 call_user_func_array('array_multisort', $args);
11 var_dump($args);
12 unset($args);
23 $args = [[3, 2, 1]];
24 call_user_func_array('array_multisort', $args);
25 var_dump($args);
26 unset($args);
H A Ddebug_backtrace_limit.phpt30 [args] => Array
44 [args] => Array
55 [args] => Array
69 [args] => Array
80 [args] => Array
91 [args] => Array
105 [args] => Array
116 [args] => Array
127 [args] => Array
H A Dindirect_call_string_001.phpt16 printf("Static method called with args: %s, %s, %s\n", $arg1, $arg2, $arg3);
31 $args = ['arg1', 'arg2', 'arg3'];
34 // Test call with args.
35 $callback($args[0], $args[1], $args[2]);
38 $callback(...$args);
44 Static method called with args: arg1, arg2, arg3
45 Static method called with args: arg1, arg2, arg3
H A Dbug28377.phpt2 Bug #28377 (debug_backtrace is intermittently passing args)
14 echo $traceName ." -- args: ";
15 echo isset($btInfo[0]['args']) ? count($btInfo[0]['args']) : 'does not exist';
22 dereferenced -- args: 2
23 direct -- args: 2
H A Dbug68475.phpt14 printf("Static method called with args: %s, %s, %s\n", $arg1, $arg2, $arg3);
26 $args = ['arg1', 'arg2', 'arg3'];
29 // Test call with args.
30 $callback($args[0], $args[1], $args[2]);
33 $callback(...$args);
54 Static method called with args: arg1, arg2, arg3
55 Static method called with args: arg1, arg2, arg3
/PHP-8.4/ext/opcache/
H A Dzend_accelerator_debug.c31 static void zend_accel_error_va_args(int type, const char *format, va_list args) in zend_accel_error_va_args() argument
79 vfprintf(fLog, format, args); in zend_accel_error_va_args()
101 va_list args; in zend_accel_error() local
102 va_start(args, format); in zend_accel_error()
103 zend_accel_error_va_args(type, format, args); in zend_accel_error()
104 va_end(args); in zend_accel_error()
109 va_list args; in zend_accel_error_noreturn() local
110 va_start(args, format); in zend_accel_error_noreturn()
112 zend_accel_error_va_args(type, format, args); in zend_accel_error_noreturn()
113 va_end(args); in zend_accel_error_noreturn()
/PHP-8.4/ext/standard/tests/
H A Dforward_static_call_array.phpt9 $args = func_get_args();
10 echo "C " . join(',', $args) . " \n";
18 $args = func_get_args();
19 echo static::NAME, " " . join(',', $args) . " \n";
30 forward_static_call_array(array('A', 'test'), array('more', 'args'));
31 forward_static_call_array('test', array('other', 'args'));
40 B more,args
41 C other,args
/PHP-8.4/ext/standard/tests/general_functions/
H A Dbug40398.phpt18 $args = func_get_args();
19 call_user_func_array(array($this, 'Base::__construct'), $args);
27 $args = func_get_args();
36 $args = func_get_args();
37 call_user_func_array('Base::__construct', $args);
45 $args = func_get_args();
46 call_user_func_array('parent::__construct', $args);
54 $args = func_get_args();
55 call_user_func_array(array('Base', '__construct'), $args);
63 $args = func_get_args();
[all …]
/PHP-8.4/Zend/tests/attributes/
H A D003_ast_nodes.phpt18 $args = $attr[0]->getArguments();
19 var_dump(count($args), $args[0][V1] === V1);
30 $args = $attr[0]->getArguments();
31 var_dump(count($args));
32 var_dump($args[0] === V1);
33 var_dump($args[1] === 3);
34 var_dump($args[2] === C1::class);
48 $args = $attr[0]->getArguments();
49 var_dump(count($args));
50 var_dump($args[0] === 'foo');
[all …]
/PHP-8.4/sapi/phpdbg/
H A Dphpdbg_out.c130 va_copy(argcpy, args); in phpdbg_vprint()
175 va_list args; in phpdbg_output_err_buf() local
186 va_end(args); in phpdbg_output_err_buf()
195 va_list args; in phpdbg_print() local
204 va_end(args); in phpdbg_print()
210 va_list args; in phpdbg_log_internal() local
215 va_start(args, fmt); in phpdbg_log_internal()
217 va_end(args); in phpdbg_log_internal()
226 va_list args; in phpdbg_out_internal() local
235 va_start(args, fmt); in phpdbg_out_internal()
[all …]
/PHP-8.4/ext/spl/tests/
H A DarrayObject_getIteratorClass_basic1.phpt8 $args = func_get_args();
9 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
13 $args = func_get_args();
14 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
19 $args = func_get_args();
20 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
25 $args = func_get_args();
26 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
31 $args = func_get_args();
32 echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n";
[all …]
/PHP-8.4/main/
H A Dphp_syslog.c89 va_list args; in php_syslog() local
100 va_start(args, format); in php_syslog()
101 vsyslog(priority, format, args); in php_syslog()
102 va_end(args); in php_syslog()
109 va_list args; in php_syslog() local
120 va_start(args, format); in php_syslog()
121 fbuf = zend_vstrpprintf(0, format, args); in php_syslog()
122 va_end(args); in php_syslog()
/PHP-8.4/ext/filter/tests/
H A Dbug76366.phpt11 #filter args
12 $args = [
19 $args['foo']['options'] = [];
22 $options = &$args['foo']['options'];
29 var_dump(filter_var_array($data, $args));
/PHP-8.4/Zend/tests/return_types/
H A D043.phpt7 public function __call($name, $args): string {}
8 public static function __callStatic($name, $args): self {}
14 public function __call($name, $args): int|float {}
15 public static function __callStatic($name, $args): ?object {}
21 public function __call($name, $args): mixed {}
22 public static function __callStatic($name, $args): mixed {}
/PHP-8.4/ext/pgsql/
H A Dpgsql_arginfo.h859 attribute_Deprecated_func_pg_numrows_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_pgsql_symbols()
931 attribute_Deprecated_func_pg_fieldnum_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_pgsql_symbols()
943 attribute_Deprecated_func_pg_result_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_pgsql_symbols()
948 attribute_Deprecated_func_pg_result_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE); in register_pgsql_symbols()
1003 attribute_Deprecated_func_pg_locreate_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_pgsql_symbols()
1015 attribute_Deprecated_func_pg_lounlink_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_pgsql_symbols()
1027 attribute_Deprecated_func_pg_loopen_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_pgsql_symbols()
1032 attribute_Deprecated_func_pg_loopen_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE); in register_pgsql_symbols()
1039 attribute_Deprecated_func_pg_loclose_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_pgsql_symbols()
1051 attribute_Deprecated_func_pg_loread_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_pgsql_symbols()
[all …]
/PHP-8.4/ext/xml/
H A Dxml.c604 zval args[3]; in xml_startElementHandler() local
607 array_init(&args[2]); in xml_startElementHandler()
691 zval args[2]; in xml_endElementHandler() local
740 zval args[2]; in xml_characterDataHandler() local
832 zval args[3]; in xml_processingInstructionHandler() local
854 zval args[2]; in xml_defaultHandler() local
876 zval args[6]; in xml_unparsedEntityDeclHandler() local
905 zval args[5]; in xml_notationDeclHandler() local
933 zval args[5]; in xml_externalEntityRefHandler() local
969 zval args[3]; in xml_startNamespaceDeclHandler() local
[all …]
/PHP-8.4/ext/enchant/
H A Denchant_arginfo.h162 …ZVAL_COPY_VALUE(&attribute_Deprecated_func_enchant_broker_free_0->args[0].value, &attribute_Deprec… in register_enchant_symbols()
163 attribute_Deprecated_func_enchant_broker_free_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_enchant_symbols()
168 attribute_Deprecated_func_enchant_broker_free_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE); in register_enchant_symbols()
175 …attribute_Deprecated_func_enchant_broker_set_dict_path_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE… in register_enchant_symbols()
182 …attribute_Deprecated_func_enchant_broker_get_dict_path_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE… in register_enchant_symbols()
189 attribute_Deprecated_func_enchant_broker_free_dict_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_enchant_symbols()
194 attribute_Deprecated_func_enchant_broker_free_dict_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE); in register_enchant_symbols()
201 …attribute_Deprecated_func_enchant_dict_add_to_personal_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE… in register_enchant_symbols()
206 …attribute_Deprecated_func_enchant_dict_add_to_personal_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSA… in register_enchant_symbols()
213 attribute_Deprecated_func_enchant_dict_is_in_session_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE); in register_enchant_symbols()
[all …]
/PHP-8.4/Zend/tests/arg_unpack/
H A Dmethod.phpt7 public function test(...$args) {
8 var_dump($args);
11 public static function test2(...$args) {
12 var_dump($args);

Completed in 37 milliseconds

12345678910>>...24