Home
last modified time | relevance | path

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

12345678910>>...21

/PHP-5.4/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.4/ext/standard/
H A Dpack.c139 int arg = 1; in PHP_FUNCTION() local
146 arg = -1; in PHP_FUNCTION()
166 arg = 1; in PHP_FUNCTION()
248 INC_OUTPUTPOS((arg + (arg % 2)) / 2,1) /* 4 bit per arg */ in PHP_FUNCTION()
325 (Z_STRLEN_PP(val) < arg) ? Z_STRLEN_PP(val) : arg); in PHP_FUNCTION()
557 arg = -1; in PHP_FUNCTION()
565 argb = arg; in PHP_FUNCTION()
589 size = arg; in PHP_FUNCTION()
590 arg = 1; in PHP_FUNCTION()
595 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()
203 zval **arg; in php_is_type() local
209 if (Z_TYPE_PP(arg) == type) { in php_is_type()
212 if(Z_OBJ_HT_PP(arg)->get_class_entry == NULL) { in php_is_type()
216 ce = Z_OBJCE_PP(arg); in php_is_type()
302 zval **arg; in PHP_FUNCTION() local
308 switch (Z_TYPE_PP(arg)) { in PHP_FUNCTION()
315 if (is_numeric_string(Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), NULL, NULL, 0)) { in PHP_FUNCTION()
333 zval **arg; in PHP_FUNCTION() local
[all …]
H A Dmath.c804 s = Z_STRVAL_P(arg); in _php_math_basetolong()
853 s = Z_STRVAL_P(arg); in _php_math_basetozval()
914 value = Z_LVAL_P(arg); in _php_math_longtobase()
971 zval **arg; in PHP_FUNCTION() local
987 zval **arg; in PHP_FUNCTION() local
1003 zval **arg; in PHP_FUNCTION() local
1019 zval **arg; in PHP_FUNCTION() local
1025 convert_to_long_ex(arg); in PHP_FUNCTION()
1035 zval **arg; in PHP_FUNCTION() local
1041 convert_to_long_ex(arg); in PHP_FUNCTION()
[all …]
/PHP-5.4/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.4/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.4/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.4/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.4/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.4/ext/mysqlnd/
H A Dmysqlnd_bt.c97 switch (Z_TYPE_PP(arg)) { in mysqlnd_build_trace_args()
104 if (Z_STRLEN_PP(arg) > 15) { in mysqlnd_build_trace_args()
109 l_added = Z_STRLEN_PP(arg); in mysqlnd_build_trace_args()
132 if (Z_USTRLEN_PP(arg) > 15) { in mysqlnd_build_trace_args()
137 l_added = Z_USTRLEN_PP(arg); in mysqlnd_build_trace_args()
154 if (Z_LVAL_PP(arg)) { in mysqlnd_build_trace_args()
164 long lval = Z_LVAL_PP(arg); in mysqlnd_build_trace_args()
312 switch (Z_TYPE_PP(arg)) { in mysqlnd_build_trace_args()
319 if (Z_STRLEN_PP(arg) > 15) { in mysqlnd_build_trace_args()
337 if (Z_LVAL_PP(arg)) { in mysqlnd_build_trace_args()
[all …]
/PHP-5.4/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.4/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.4/
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.4/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.4/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 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 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_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…
/PHP-5.4/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()
492 *p = *arg; in zend_parse_arg_impl()
507 *p = *arg; in zend_parse_arg_impl()
542 *p = *arg; in zend_parse_arg_impl()
560 *p = *arg; in zend_parse_arg_impl()
643 *p = *arg; in zend_parse_arg_impl()
654 *p = arg; in zend_parse_arg_impl()
707 zval **arg; in zend_parse_va_args() local
[all …]
/PHP-5.4/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.4/ext/soap/tests/interop/Round4/GroupI/
H A Dr4_groupI_xsd_014w.phpt17 $struct1 = new SOAPComplexType('arg',34,325.325);
18 $struct2 = new SOAPComplexType('arg',34,325.325);
19 $struct3 = new SOAPComplexType('arg',34,325.325);
29arg</ns1:varString><ns1:varFloat>325.325</ns1:varFloat></ns2:SOAPComplexType><ns2:SOAPComplexType>…
31arg</ns1:varString><ns1:varFloat>325.325</ns1:varFloat></ns2:return><ns2:return><ns1:varInt>34</ns…

Completed in 60 milliseconds

12345678910>>...21