Home
last modified time | relevance | path

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

12345678910>>...23

/PHP-7.4/ext/session/
H A Dmod_user.c81 zval args[2]; in PS_OPEN_FUNC() local
139 zval args[1]; in PS_READ_FUNC() local
142 ZVAL_STR_COPY(&args[0], key); in PS_READ_FUNC()
159 zval args[2]; in PS_WRITE_FUNC() local
162 ZVAL_STR_COPY(&args[0], key); in PS_WRITE_FUNC()
163 ZVAL_STR_COPY(&args[1], val); in PS_WRITE_FUNC()
172 zval args[1]; in PS_DESTROY_FUNC() local
175 ZVAL_STR_COPY(&args[0], key); in PS_DESTROY_FUNC()
184 zval args[1]; in PS_GC_FUNC() local
238 zval args[1]; in PS_VALIDATE_SID_FUNC() local
[all …]
/PHP-7.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-7.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-7.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
H A Dlsb_022.phpt9 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);
H A Dbug50394.phpt8 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 Dbug50383.phpt7 public static function __callStatic($method, $args) {
10 public function __call($method, $args) {
49 [args] => Array
65 [args] => Array
82 [args] => Array
98 [args] => Array
/PHP-7.4/Zend/tests/function_arguments/
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-7.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-7.4/main/streams/
H A Duserspace.c382 4, args, in user_wrapper_opener()
461 2, args, in user_wrapper_opendir()
611 1, args, in php_userstreamop_write()
665 1, args, in php_userstreamop_read()
806 2, args, in php_userstreamop_seek()
1134 1, args, in user_wrapper_unlink()
1179 2, args, in user_wrapper_rename()
1226 3, args, in user_wrapper_mkdir()
1273 2, args, in user_wrapper_rmdir()
1344 3, args, in user_wrapper_metadata()
[all …]
/PHP-7.4/main/
H A Dphp_syslog.c40 va_list args; in php_syslog() local
51 va_start(args, format); in php_syslog()
52 vsyslog(priority, format, args); in php_syslog()
53 va_end(args); in php_syslog()
63 va_list args; in php_syslog() local
74 va_start(args, format); in php_syslog()
75 zend_printf_to_smart_string(&fbuf, format, args); in php_syslog()
77 va_end(args); in php_syslog()
/PHP-7.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-7.4/ext/standard/tests/file/
H A Dbug22414.phpt10 $args = ' -n ';
13 passthru($php . $args . ' -r " echo \"HELLO\"; "');
20 $cmd = $php . $args . ' -r \"readfile(@getenv(\'\\\'\'TEST_PHP_EXECUTABLE\'\\\'\')); \"';
21 $cmd = $php . $args . ' -r \' passthru("'.$cmd.'"); \' > '.$tmpfile ;
23 $cmd = $php . $args . ' -r \"readfile(@getenv(\\\\\\"TEST_PHP_EXECUTABLE\\\\\\")); \"';
24 $cmd = $php . $args . ' -r " passthru(\''.$cmd.'\');" > '.$tmpfile ;
/PHP-7.4/ext/filter/tests/
H A Dbug76366.phpt13 #filter args
14 $args = [
21 $args['foo']['options'] = [];
24 $options = &$args['foo']['options'];
31 var_dump(filter_var_array($data, $args));
/PHP-7.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);
/PHP-7.4/ext/filter/
H A Dcallback_filter.c24 zval args[1]; in php_filter_callback() local
34 ZVAL_COPY(&args[0], value); in php_filter_callback()
35 status = call_user_function_ex(NULL, NULL, option_array, &retval, 1, args, 0, NULL); in php_filter_callback()
45 zval_ptr_dtor(&args[0]); in php_filter_callback()
/PHP-7.4/Zend/tests/variadic/
H A Dbasic.phpt6 function test1(... $args) {
7 var_dump($args);
14 function test2($arg1, $arg2, ...$args) {
15 var_dump($arg1, $arg2, $args);
/PHP-7.4/ext/intl/msgformat/
H A Dmsgformat_format.c35 static void msgfmt_do_format(MessageFormatter_object *mfo, zval *args, zval *return_value) in msgfmt_do_format() argument
40 umsg_format_helper(mfo, Z_ARRVAL_P(args), &formatted, &formatted_len); in msgfmt_do_format()
60 zval *args; in PHP_FUNCTION() local
66 &object, MessageFormatter_ce_ptr, &args ) == FAILURE ) in PHP_FUNCTION()
77 msgfmt_do_format(mfo, args, return_value); in PHP_FUNCTION()
88 zval *args; in PHP_FUNCTION() local
101 &slocale, &slocale_len, &pattern, &pattern_len, &args ) == FAILURE ) in PHP_FUNCTION()
161 msgfmt_do_format(mfo, args, return_value); in PHP_FUNCTION()
/PHP-7.4/ext/opcache/tests/
H A Djmp_elim_003.phpt8 public static function test($args = array()) {
12 $is_ssl = isset( $args['ssl'] ) && $args['ssl'];
21 return apply_filters('use_streams_transport', true, $args);
/PHP-7.4/Zend/tests/arrow_functions/
H A D007.phpt8 assert((fn&(int... $args): ?bool => $args[0])(false));
14 Warning: assert(): assert(fn&(int ...$args): ?bool => $args[0](false)) failed in %s on line %d
/PHP-7.4/ext/mbstring/tests/
H A Dmb_ereg1.phpt16 foreach ($a as $args) {
17 var_dump(mb_ereg($args[0], $args[1], $args[2]));
18 var_dump($args);

Completed in 33 milliseconds

12345678910>>...23