Home
last modified time | relevance | path

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

12345678910>>...24

/PHP-5.6/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-5.6/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-5.6/ext/standard/
H A Dpack.c146 int arg = 1; in PHP_FUNCTION() local
153 arg = -1; in PHP_FUNCTION()
173 arg = 1; in PHP_FUNCTION()
201 arg++; in PHP_FUNCTION()
273 INC_OUTPUTPOS((arg + (arg % 2)) / 2,1) /* 4 bit per arg */ in PHP_FUNCTION()
354 int arg_cp = (code != 'Z') ? arg : MAX(0, arg - 1); in PHP_FUNCTION()
616 arg = -1; in PHP_FUNCTION()
624 argb = arg; in PHP_FUNCTION()
650 arg = 1; in PHP_FUNCTION()
655 size = (arg > 0) ? (arg + (arg % 2)) / 2 : arg; in PHP_FUNCTION()
[all …]
H A Dtype.c28 zval **arg; in PHP_FUNCTION() local
34 switch (Z_TYPE_PP(arg)) { in PHP_FUNCTION()
217 zval **arg; in php_is_type() local
223 if (Z_TYPE_PP(arg) == type) { in php_is_type()
226 if(Z_OBJ_HT_PP(arg)->get_class_entry == NULL) { in php_is_type()
230 ce = Z_OBJCE_PP(arg); in php_is_type()
316 zval **arg; in PHP_FUNCTION() local
322 switch (Z_TYPE_PP(arg)) { in PHP_FUNCTION()
329 if (is_numeric_string(Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), NULL, NULL, 0)) { in PHP_FUNCTION()
347 zval **arg; in PHP_FUNCTION() local
[all …]
H A Dmath.c782 s = Z_STRVAL_P(arg); in _php_math_basetolong()
831 s = Z_STRVAL_P(arg); in _php_math_basetozval()
892 value = Z_LVAL_P(arg); in _php_math_longtobase()
949 zval **arg; in PHP_FUNCTION() local
965 zval **arg; in PHP_FUNCTION() local
981 zval **arg; in PHP_FUNCTION() local
997 zval **arg; in PHP_FUNCTION() local
1003 convert_to_long_ex(arg); in PHP_FUNCTION()
1013 zval **arg; in PHP_FUNCTION() local
1019 convert_to_long_ex(arg); in PHP_FUNCTION()
[all …]
/PHP-5.6/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-5.6/ext/mbstring/tests/
H A Dbug43994.phpt44 Without $regs arg:
48 With $regs arg:
55 Without $regs arg:
59 With $regs arg:
66 Without $regs arg:
70 With $regs arg:
81 With $regs arg:
92 With $regs arg:
103 With $regs arg:
114 With $regs arg:
[all …]
H A Dmb_ereg_variation5.phpt28 echo "\nASCII String without \$regs arg:\t\t";
30 echo "ASCII String with \$regs arg:\n";
34 echo "\nMultibyte String without \$regs arg:\t";
36 echo "Multubyte String with \$regs arg:\n";
67 ASCII String without $regs arg: int(1)
68 ASCII String with $regs arg:
75 Multibyte String without $regs arg: int(1)
76 Multubyte String with $regs arg:
/PHP-5.6/ext/mbstring/oniguruma/
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-5.6/sapi/fpm/fpm/
H A Dfpm_cleanup.c15 void *arg; member
20 int fpm_cleanup_add(int type, void (*cleanup)(int, void *), void *arg) /* {{{ */ in fpm_cleanup_add() argument
32 c->arg = arg; in fpm_cleanup_add()
45 c->cleanup(type, c->arg); in fpm_cleanups_run()
/PHP-5.6/ext/date/tests/
H A Dmicrotime_error.phpt26 echo "\n--> bad arg: ";
42 --> bad arg: NULL
45 --> bad arg: float(1.5)
48 --> bad arg: string(5) "hello"
51 --> bad arg: array(2) {
64 --> bad arg: object(stdClass)#%d (0) {
70 --> bad arg: int(1)
/PHP-5.6/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-5.6/ext/
H A Dext_skel_win32.php29 foreach($argv as $arg) {
30 if (strtolower(substr($arg, 0, 9)) == "--extname") {
31 $extname = substr($arg, 10);
33 if (strtolower(substr($arg, 0, 6)) == "--skel") {
34 $skel = substr($arg, 7);
/PHP-5.6/
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 …]
/PHP-5.6/Zend/tests/
H A Dobjects_004.phpt9 function foo($arg) {}
13 function foo($arg) {}
17 function foo(&$arg) {}
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo($arg) in %s on li…
H A Dbug50394.phpt14 $arg = 1;
15 $args = array( &$arg );
18 call_user_func_array( array( $proxy, 'bar' ), array(&$arg) );
19 var_dump($arg);
H A Dobjects_003.phpt9 function foo($arg) {}
13 function foo($arg) {}
17 function foo($arg, $arg2) {}
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo($arg) in %s on li…
H A Dobjects_008.phpt9 function foo(Test $arg) {}
13 function foo(Test $arg) {}
17 function foo(Test3 $arg) {}
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo(Test $arg) in %s …
H A Dobjects_009.phpt9 function foo(Test $arg) {}
13 function foo(Test $arg) {}
17 function foo($arg) {}
23 Strict Standards: Declaration of test3::foo() 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 Strict Standards: Declaration of test3::foo() should be compatible with test::foo($arg, $arg2 = NUL…
H A Dobjects_007.phpt9 function foo($arg, &$arg2 = NULL) {}
13 function foo($arg, &$arg2 = NULL) {}
17 function foo($arg, &$arg2) {}
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo($arg, &$arg2 = NU…
/PHP-5.6/Zend/
H A Dzend_API.c268 *arg = obj; in parse_arg_object_to_string()
286 zval *z = Z_OBJ_HANDLER_PP(arg, get)(*arg TSRMLS_CC); in parse_arg_object_to_string()
289 zval_dtor(*arg); in parse_arg_object_to_string()
508 *p = *arg; in zend_parse_arg_impl()
523 *p = *arg; in zend_parse_arg_impl()
558 *p = *arg; in zend_parse_arg_impl()
576 *p = *arg; in zend_parse_arg_impl()
659 *p = *arg; in zend_parse_arg_impl()
670 *p = arg; in zend_parse_arg_impl()
736 zval **arg; in zend_parse_va_args() local
[all …]
/PHP-5.6/ext/mbstring/
H A Dmb_gpc.c63 if (arg != PARSE_STRING) { in ZEND_EXTERN_MODULE_GLOBALS()
73 switch (arg) { in ZEND_EXTERN_MODULE_GLOBALS()
80 switch (arg) { in ZEND_EXTERN_MODULE_GLOBALS()
97 if (arg==PARSE_POST) { in ZEND_EXTERN_MODULE_GLOBALS()
102 if (arg == PARSE_GET) { /* GET data */ in ZEND_EXTERN_MODULE_GLOBALS()
127 switch (arg) { in ZEND_EXTERN_MODULE_GLOBALS()
138 switch(arg) { in ZEND_EXTERN_MODULE_GLOBALS()
153 info.data_type = arg; in ZEND_EXTERN_MODULE_GLOBALS()
168 switch(arg){ in ZEND_EXTERN_MODULE_GLOBALS()
184 if (arg != PARSE_COOKIE) { in ZEND_EXTERN_MODULE_GLOBALS()
[all …]
/PHP-5.6/sapi/milter/
H A Dmilter.php62 foreach ($args as $ix => $arg) {
63 milter_log("\targs[$ix] = $arg");
74 foreach ($args as $ix => $arg) {
75 milter_log("\targs[$ix] = $arg");

Completed in 114 milliseconds

12345678910>>...24