/PHP-7.2/ext/session/ |
H A D | mod_user.c | 83 zval args[2]; in PS_OPEN_FUNC() local 141 zval args[1]; in PS_READ_FUNC() local 144 ZVAL_STR_COPY(&args[0], key); in PS_READ_FUNC() 161 zval args[2]; in PS_WRITE_FUNC() local 164 ZVAL_STR_COPY(&args[0], key); in PS_WRITE_FUNC() 165 ZVAL_STR_COPY(&args[1], val); in PS_WRITE_FUNC() 174 zval args[1]; in PS_DESTROY_FUNC() local 177 ZVAL_STR_COPY(&args[0], key); in PS_DESTROY_FUNC() 186 zval args[1]; in PS_GC_FUNC() local 241 zval args[1]; in PS_VALIDATE_SID_FUNC() local [all …]
|
/PHP-7.2/ext/zip/lib/ |
H A D | zip_source_seek.c | 41 zip_source_args_seek_t args; in zip_source_seek() local 51 args.offset = offset; in zip_source_seek() 52 args.whence = whence; in zip_source_seek() 54 return (_zip_source_call(src, &args, sizeof(args), ZIP_SOURCE_SEEK) < 0 ? -1 : 0); in zip_source_seek() 62 …zip_source_args_seek_t *args = ZIP_SOURCE_GET_ARGS(zip_source_args_seek_t, data, data_length, erro… in zip_source_seek_compute_offset() local 64 if (args == NULL) { in zip_source_seek_compute_offset() 68 switch (args->whence) { in zip_source_seek_compute_offset() 70 new_offset = (zip_int64_t)offset + args->offset; in zip_source_seek_compute_offset() 74 new_offset = (zip_int64_t)length + args->offset; in zip_source_seek_compute_offset() 78 new_offset = args->offset; in zip_source_seek_compute_offset()
|
H A D | zip_source_seek_write.c | 41 zip_source_args_seek_t args; in zip_source_seek_write() local 48 args.offset = offset; in zip_source_seek_write() 49 args.whence = whence; in zip_source_seek_write() 51 return (_zip_source_call(src, &args, sizeof(args), ZIP_SOURCE_SEEK_WRITE) < 0 ? -1 : 0); in zip_source_seek_write()
|
/PHP-7.2/ext/bcmath/libbcmath/src/ |
H A D | rt.c | 44 va_list args; in bc_rt_warn() local 47 va_start (args, mesg); in bc_rt_warn() 48 vsnprintf (error_mesg, sizeof(error_mesg), mesg, args); in bc_rt_warn() 49 va_end (args); in bc_rt_warn() 57 va_list args; in bc_rt_error() local 60 va_start (args, mesg); in bc_rt_error() 61 vsnprintf (error_mesg, sizeof(error_mesg), mesg, args); in bc_rt_error() 62 va_end (args); in bc_rt_error()
|
/PHP-7.2/ext/interbase/ |
H A D | php_ibase_udf.c | 206 ZVAL_NULL(&args[i]); in call_php() 236 ZVAL_DOUBLE(&args[i], in call_php() 245 ZVAL_DOUBLE(&args[i], in call_php() 301 zval_dtor(&args[i]); in call_php() 358 call_php(name, r, 1, args); in udf_call_php1() 364 call_php(name, r, 2, args); in udf_call_php2() 370 call_php(name, r, 3, args); in udf_call_php3() 377 call_php(name, r, 4, args); in udf_call_php4() 384 call_php(name, r, 5, args); in udf_call_php5() 391 call_php(name, r, 6, args); in udf_call_php6() [all …]
|
H A D | ibase_events.c | 129 zval *args; in PHP_FUNCTION() local 147 if (Z_TYPE(args[0]) == IS_RESOURCE) { in PHP_FUNCTION() 162 convert_to_string_ex(&args[i]); in PHP_FUNCTION() 214 zval return_value, args[2]; in _php_ibase_callback() local 222 ZVAL_RES(&args[1], event->link_res); in _php_ibase_callback() 267 zval *args, *cb_arg; in PHP_FUNCTION() local 286 if (Z_TYPE(args[0]) != IS_STRING) { in PHP_FUNCTION() 294 cb_arg = &args[1]; in PHP_FUNCTION() 301 link_res = Z_RES(args[0]); in PHP_FUNCTION() 311 cb_arg = &args[0]; in PHP_FUNCTION() [all …]
|
/PHP-7.2/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-7.2/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-7.2/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
|
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-7.2/main/streams/ |
H A D | userspace.c | 386 4, args, in user_wrapper_opener() 465 2, args, in user_wrapper_opendir() 615 1, args, in php_userstreamop_write() 666 1, args, in php_userstreamop_read() 794 2, args, in php_userstreamop_seek() 1122 1, args, in user_wrapper_unlink() 1167 2, args, in user_wrapper_rename() 1214 3, args, in user_wrapper_mkdir() 1261 2, args, in user_wrapper_rmdir() 1332 3, args, in user_wrapper_metadata() [all …]
|
/PHP-7.2/ext/intl/doc/ |
H A D | msgfmt_api.php | 33 * @param array $args arguments to insert into the pattern string 36 public function format($args) {} argument 56 * @param array $args the array of values to insert into $pattern 59 public static function formatMessage($locale, $pattern, $args) {} argument 126 * @param array $args arguments to insert into the pattern string 129 function msgfmt_format($fmt, $args) {} argument 150 * @param array $args the array of values to insert into $pattern 153 function msgfmt_format_message($locale, $pattern, $args) {} argument
|
/PHP-7.2/ext/standard/tests/ |
H A D | forward_static_call_array.phpt | 15 $args = func_get_args(); 16 echo "C " . join(',', $args) . " \n"; 24 $args = func_get_args(); 25 echo static::NAME, " " . join(',', $args) . " \n"; 36 forward_static_call_array(array('A', 'test'), array('more', 'args')); 37 forward_static_call_array('test', array('other', 'args')); 46 B more,args 47 C other,args
|
/PHP-7.2/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-7.2/ext/mysqlnd/ |
H A D | mysqlnd_commands.c | 95 mysqlnd_com_set_option_create_command(va_list args) in mysqlnd_com_set_option_create_command() argument 145 mysqlnd_com_debug_create_command(va_list args) in mysqlnd_com_debug_create_command() argument 224 mysqlnd_com_init_db_create_command(va_list args) in mysqlnd_com_init_db_create_command() argument 279 mysqlnd_com_ping_create_command(va_list args) in mysqlnd_com_ping_create_command() argument 487 mysqlnd_com_refresh_create_command(va_list args) in mysqlnd_com_refresh_create_command() argument 605 mysqlnd_com_quit_create_command(va_list args) in mysqlnd_com_quit_create_command() argument 663 mysqlnd_com_query_create_command(va_list args) in mysqlnd_com_query_create_command() argument 1388 va_list args; in mysqlnd_get_command() local 1391 va_start(args, command); in mysqlnd_get_command() 1403 ret = mysqlnd_com_ping_create_command(args); in mysqlnd_get_command() [all …]
|
/PHP-7.2/Zend/ |
H A D | zend_sprintf.c | 34 va_list args; in zend_sprintf() local 36 va_start(args, format); in zend_sprintf() 37 len = vsprintf(buffer, format, args); in zend_sprintf() 38 va_end(args); in zend_sprintf()
|
/PHP-7.2/ext/intl/msgformat/ |
H A D | msgformat_format.c | 35 static void msgfmt_do_format(MessageFormatter_object *mfo, zval *args, zval *return_value) in msgfmt_do_format() argument 42 count = zend_hash_num_elements(Z_ARRVAL_P(args)); in msgfmt_do_format() 46 zend_hash_copy(args_copy, Z_ARRVAL_P(args), (copy_ctor_func_t)zval_add_ref); in msgfmt_do_format() 71 zval *args; in PHP_FUNCTION() local 77 &object, MessageFormatter_ce_ptr, &args ) == FAILURE ) in PHP_FUNCTION() 88 msgfmt_do_format(mfo, args, return_value); in PHP_FUNCTION() 99 zval *args; in PHP_FUNCTION() local 111 &slocale, &slocale_len, &pattern, &pattern_len, &args ) == FAILURE ) in PHP_FUNCTION() 156 msgfmt_do_format(mfo, args, return_value); in PHP_FUNCTION()
|
/PHP-7.2/main/ |
H A D | php_sprintf.c | 33 va_list args; in php_sprintf() local 36 va_start (args, format); in php_sprintf() 38 ret = vsprintf (s, format, args); in php_sprintf() 39 va_end (args); in php_sprintf()
|
/PHP-7.2/ext/standard/tests/file/ |
H A D | bug22414.phpt | 10 $args = ' -n -dsafe_mode=off '; 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.2/ext/filter/tests/ |
H A D | bug76366.phpt | 13 #filter args 14 $args = [ 21 $args['foo']['options'] = []; 24 $options = &$args['foo']['options']; 31 var_dump(filter_var_array($data, $args));
|
/PHP-7.2/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);
|