Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 583) sorted by relevance

12345678910>>...24

/PHP-7.3/ext/standard/tests/general_functions/
H A Dcall_user_func_array_variation_001.phpt6 function by_val($arg) {
7 $arg = 'changed';
10 function by_ref(&$arg) {
11 $arg = 'changed';
15 $arg = array('original');
17 var_dump($arg);
22 var_dump($arg);
26 $ref = &$arg[0];
28 var_dump($arg);
32 $ref = &$arg[0];
[all …]
H A Dgetopt_005.phpt4 --arg value --arg=value -avalue -a=value -a value
10 var_dump(getopt("a:", array("arg:")));
14 ["arg"]=>
/PHP-7.3/main/
H A Dphp_ticks.c25 void *arg; member
48 return e1->func == e2->func && e1->arg == e2->arg; in php_compare_tick_functions()
51 PHPAPI void php_add_tick_function(void (*func)(int, void*), void * arg) in php_add_tick_function() argument
53 struct st_tick_function tmp = {func, arg}; in php_add_tick_function()
57 PHPAPI void php_remove_tick_function(void (*func)(int, void *), void * arg) in php_remove_tick_function() argument
59 struct st_tick_function tmp = {func, arg}; in php_remove_tick_function()
63 static void php_tick_iterator(void *d, void *arg) in php_tick_iterator() argument
66 data->func(*((int *)arg), data->arg); in php_tick_iterator()
/PHP-7.3/ext/standard/
H A Dpack.c104 …result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xF… in php_pack_reverse_int32()
118 tmp.i = arg; in php_pack_reverse_int64()
255 int arg = 1; in PHP_FUNCTION() local
262 arg = -1; in PHP_FUNCTION()
282 arg = 1; in PHP_FUNCTION()
306 arg++; in PHP_FUNCTION()
769 arg = -1; in PHP_FUNCTION()
777 argb = arg; in PHP_FUNCTION()
807 arg = 1; in PHP_FUNCTION()
812 size = (arg > 0) ? (arg + (arg % 2)) / 2 : arg; in PHP_FUNCTION()
[all …]
H A Dtype.c26 zval *arg; in PHP_FUNCTION() local
30 Z_PARAM_ZVAL(arg) in PHP_FUNCTION()
190 zval *arg; in php_is_type() local
193 Z_PARAM_ZVAL(arg) in php_is_type()
233 zval *arg; in PHP_FUNCTION() local
236 Z_PARAM_ZVAL(arg) in PHP_FUNCTION()
239 RETURN_BOOL(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE); in PHP_FUNCTION()
292 zval *arg; in PHP_FUNCTION() local
295 Z_PARAM_ZVAL(arg) in PHP_FUNCTION()
323 zval *arg; in PHP_FUNCTION() local
[all …]
H A Dmath.c982 zval *arg; in PHP_FUNCTION() local
985 Z_PARAM_ZVAL(arg) in PHP_FUNCTION()
999 zval *arg; in PHP_FUNCTION() local
1002 Z_PARAM_ZVAL(arg) in PHP_FUNCTION()
1016 zval *arg; in PHP_FUNCTION() local
1019 Z_PARAM_ZVAL(arg) in PHP_FUNCTION()
1033 zval *arg; in PHP_FUNCTION() local
1037 Z_PARAM_ZVAL(arg) in PHP_FUNCTION()
1050 zval *arg; in PHP_FUNCTION() local
1054 Z_PARAM_ZVAL(arg) in PHP_FUNCTION()
[all …]
/PHP-7.3/ext/reflection/tests/
H A Dbug33389.phpt7 function foo1($arg=foobar) {
9 function foo2($arg=null) {
11 function foo3($arg=false) {
13 function foo4($arg='foo') {
15 function foo5($arg=1) {
17 function bar($arg) {
47 Parameter #0 [ <optional> $arg = 1 ]
55 Parameter #0 [ <optional> $arg = NULL ]
63 Parameter #0 [ <optional> $arg = false ]
79 Parameter #0 [ <optional> $arg = 1 ]
[all …]
/PHP-7.3/ext/phar/phar/
H A Dclicommand.inc51 $this->args[$arg]['val'] = $this->checkArgTyp($arg, $i, $argc, $argv);
148 return (bool)$arg;
153 if ((int)$arg != $arg) {
157 return (int)$arg;
162 if (strlen($arg)) {
163 if (strlen($arg) > 1 && $arg[0] == $arg[strlen($arg)-1] && strpos('/,', $arg) !== false) {
164 return $arg;
178 return $arg;
204 $d = dirname($arg);
251 $arg = "-$arg ";
[all …]
/PHP-7.3/Zend/tests/
H A Dbug70332.phpt5 function & test($arg) {
6 return $arg;
9 $arg = new Stdclass();
10 $arg->name = array();
12 test($arg)->name[1] = "xxxx";
14 print_r($arg);
H A Dbug76047.phpt15 function test($arg) {
16 $arg = str_shuffle(str_repeat('A', 79));
18 $vuln->a = $arg;
21 function test2($arg) {
22 $$arg = 1; // Trigger symbol table
23 $arg = str_shuffle(str_repeat('A', 79));
25 $vuln->a = $arg;
H A Dobjects_004.phpt9 function foo($arg) {}
13 function foo($arg) {}
17 function foo(&$arg) {}
23 Warning: Declaration of test3::foo(&$arg) should be compatible with test::foo($arg) in %s on line %d
H A Dobjects_003.phpt9 function foo($arg) {}
13 function foo($arg) {}
17 function foo($arg, $arg2) {}
23 Warning: Declaration of test3::foo($arg, $arg2) should be compatible with test::foo($arg) in %s on …
H A Dobjects_008.phpt9 function foo(Test $arg) {}
13 function foo(Test $arg) {}
17 function foo(Test3 $arg) {}
23 Warning: Declaration of test3::foo(Test3 $arg) should be compatible with test::foo(Test $arg) in %s…
H A Dobjects_006.phpt9 function foo($arg, $arg2 = NULL) {}
13 function foo($arg, $arg2 = NULL) {}
17 function foo($arg, $arg2) {}
23 Warning: Declaration of test3::foo($arg, $arg2) should be compatible with test::foo($arg, $arg2 = N…
H A Dobjects_007.phpt9 function foo($arg, &$arg2 = NULL) {}
13 function foo($arg, &$arg2 = NULL) {}
17 function foo($arg, &$arg2) {}
23 Warning: Declaration of test3::foo($arg, &$arg2) should be compatible with test::foo($arg, &$arg2 =…
H A Dbug50394.phpt14 $arg = 1;
15 $args = array( &$arg );
18 call_user_func_array( array( $proxy, 'bar' ), array(&$arg) );
19 var_dump($arg);
/PHP-7.3/ext/mbstring/tests/
H A Dbug43994.phpt42 Without $regs arg:
46 With $regs arg:
54 Without $regs arg:
58 With $regs arg:
66 Without $regs arg:
70 With $regs arg:
82 With $regs arg:
94 With $regs arg:
106 With $regs arg:
118 With $regs arg:
[all …]
/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dregtrav.c37 int level, void* arg) in capture_tree_traverse() argument
46 level, ONIG_TRAVERSE_CALLBACK_AT_FIRST, arg); in capture_tree_traverse()
52 callback_func, level + 1, arg); in capture_tree_traverse()
58 level, ONIG_TRAVERSE_CALLBACK_AT_LAST, arg); in capture_tree_traverse()
68 int(*callback_func)(int,int,int,int,int,void*), void* arg) in onig_capture_tree_traverse() argument
72 callback_func, 0, arg); in onig_capture_tree_traverse()
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_cleanup.c13 void *arg; member
18 int fpm_cleanup_add(int type, void (*cleanup)(int, void *), void *arg) /* {{{ */ in fpm_cleanup_add() argument
30 c->arg = arg; in fpm_cleanup_add()
43 c->cleanup(type, c->arg); in fpm_cleanups_run()
/PHP-7.3/Zend/
H A Dzend_API.h377 #define array_init(arg) ZVAL_ARR((arg), zend_new_array(0)) argument
378 #define array_init_size(arg, size) ZVAL_ARR((arg), zend_new_array(size)) argument
555 #define add_method(arg, key, method) add_assoc_function((arg), (key), (method)) argument
1190 *dest = Z_STR_P(arg); in zend_parse_arg_str()
1246 *dest = arg; in zend_parse_arg_array()
1266 Z_OBJ_P(arg)->properties = zend_array_dup(Z_OBJ_P(arg)->properties); in zend_parse_arg_array_ht()
1268 *dest = Z_OBJ_HT_P(arg)->get_properties(arg); in zend_parse_arg_array_ht()
1281 *dest = arg; in zend_parse_arg_object()
1293 *dest = arg; in zend_parse_arg_resource()
1319 UNEXPECTED(Z_TYPE_P(Z_REFVAL_P(arg)) == IS_NULL)))) ? NULL : arg; in zend_parse_arg_zval()
[all …]
H A Dzend_API.c137 ZVAL_DEREF(arg); in zend_zval_type_name()
530 zval *z = Z_OBJ_HANDLER_P(arg, get)(arg, &rv); in zend_parse_arg_str_weak()
571 ZVAL_DEREF(arg); in zend_parse_arg_impl()
876 zval *arg; in zend_parse_va_args() local
1719 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_long_ex()
1732 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_bool_ex()
1745 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_null_ex()
1758 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_resource_ex()
1772 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_double_ex()
1785 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_str_ex()
[all …]
/PHP-7.3/ext/date/tests/
H A Dmicrotime_error.phpt26 echo "\n--> bad arg: ";
41 --> bad arg: NULL
44 --> bad arg: float(1.5)
47 --> bad arg: string(5) "hello"
50 --> bad arg: array(2) {
63 --> bad arg: object(stdClass)#%d (0) {
69 --> bad arg: int(1)
/PHP-7.3/ext/spl/tests/
H A Dspl_004.phpt12 function test_arg($arg)
14 if ($arg instanceof Iterator)
16 var_dump($arg->key());
17 var_dump($arg->current());
21 var_dump($arg);
28 static $arg = 0;
29 var_dump($arg++);
/PHP-7.3/ext/mysqli/
H A Dmysqli_exception.c42 va_list arg; in php_mysqli_throw_sql_exception() local
45 va_start(arg, format); in php_mysqli_throw_sql_exception()
46 vspprintf(&message, 0, format, arg); in php_mysqli_throw_sql_exception()
47 va_end(arg); in php_mysqli_throw_sql_exception()
/PHP-7.3/
H A Dltmain.sh258 arg="\"$arg\""
279 arg="\"$arg\""
722 arg="\"$arg\""
1687 arg="\"$arg\""
1804 arg="$arg $wl$flag"
1822 arg="$arg $wl$flag"
1852 arg="\"$arg\""
1991 arg="\"$arg\""
5818 arg="\"$arg\""
5834 arg="\"$arg\""
[all …]

Completed in 103 milliseconds

12345678910>>...24