/PHP-8.3/sapi/fuzzer/ |
H A D | fuzzer-mbregex.c | 33 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 D | fuzzer-unserializehash.c | 60 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.3/ext/session/ |
H A D | mod_user.c | 84 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.3/Zend/tests/function_arguments/ |
H A D | sensitive_parameter_correctly_captures_original.phpt | 21 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 D | call_with_trailing_comma_basic.phpt | 5 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.3/ext/standard/tests/class_object/ |
H A D | bug71442.phpt | 10 $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.3/Zend/tests/ |
H A D | call_user_func_array_prefer_ref.phpt | 9 $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 D | debug_backtrace_limit.phpt | 30 [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 D | indirect_call_string_001.phpt | 16 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 D | bug28377.phpt | 2 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 D | bug68475.phpt | 14 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.3/ext/opcache/ |
H A D | zend_accelerator_debug.c | 31 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.3/ext/standard/tests/ |
H A D | forward_static_call_array.phpt | 9 $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.3/main/streams/ |
H A D | userspace.c | 299 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 873 zval args[3]; in php_userstreamop_set_option() local 1037 zval args[1]; in user_wrapper_unlink() local 1076 zval args[2]; in user_wrapper_rename() local 1117 zval args[3]; in user_wrapper_mkdir() local 1160 zval args[2]; in user_wrapper_rmdir() local [all …]
|
/PHP-8.3/Zend/tests/attributes/ |
H A D | 003_ast_nodes.phpt | 18 $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.3/ext/standard/tests/general_functions/ |
H A D | bug40398.phpt | 18 $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.3/sapi/phpdbg/ |
H A D | phpdbg_out.c | 130 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.3/ext/spl/tests/ |
H A D | arrayObject_getIteratorClass_basic1.phpt | 8 $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.3/ext/dom/ |
H A D | documentfragment.c | 102 zval *args; in PHP_METHOD() local 105 if (zend_parse_parameters(ZEND_NUM_ARGS(), "*", &args, &argc) == FAILURE) { in PHP_METHOD() 111 dom_parent_node_append(intern, args, argc); in PHP_METHOD() 121 zval *args; in PHP_METHOD() local 124 if (zend_parse_parameters(ZEND_NUM_ARGS(), "*", &args, &argc) == FAILURE) { in PHP_METHOD() 130 dom_parent_node_prepend(intern, args, argc); in PHP_METHOD() 140 zval *args; in PHP_METHOD() local 143 if (zend_parse_parameters(ZEND_NUM_ARGS(), "*", &args, &argc) == FAILURE) { in PHP_METHOD() 149 dom_parent_node_replace_children(intern, args, argc); in PHP_METHOD()
|
/PHP-8.3/main/ |
H A D | php_syslog.c | 89 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.3/ext/filter/tests/ |
H A D | bug76366.phpt | 11 #filter args 12 $args = [ 19 $args['foo']['options'] = []; 22 $options = &$args['foo']['options']; 29 var_dump(filter_var_array($data, $args));
|
/PHP-8.3/Zend/tests/return_types/ |
H A D | 043.phpt | 7 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.3/Zend/tests/arg_unpack/ |
H A D | method.phpt | 7 public function test(...$args) { 8 var_dump($args); 11 public static function test2(...$args) { 12 var_dump($args);
|
/PHP-8.3/ext/opcache/tests/opt/ |
H A D | verify_return_type.phpt | 63 ; (lines=1, args=0, vars=0, tmps=0) 69 ; (lines=3, args=0, vars=0, tmps=1) 79 ; (lines=3, args=0, vars=0, tmps=1) 89 ; (lines=2, args=1, vars=1, tmps=0) 96 ; (lines=3, args=0, vars=0, tmps=1) 104 ; (lines=1, args=0, vars=0, tmps=0) 110 ; (lines=3, args=0, vars=0, tmps=1) 118 ; (lines=2, args=1, vars=1, tmps=0) 125 ; (lines=6, args=1, vars=1, tmps=1) 136 ; (lines=1, args=0, vars=0, tmps=0) [all …]
|
/PHP-8.3/ext/filter/ |
H A D | callback_filter.c | 22 zval args[1]; in php_filter_callback() local 32 ZVAL_COPY(&args[0], value); in php_filter_callback() 33 status = call_user_function(NULL, NULL, option_array, &retval, 1, args); in php_filter_callback() 43 zval_ptr_dtor(&args[0]); in php_filter_callback()
|