Home
last modified time | relevance | path

Searched refs:arg2 (Results 1 – 25 of 139) sorted by relevance

123456

/PHP-7.3/Zend/tests/
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 Dindirect_call_string_001.phpt14 public static function staticMethodWithArgs($arg1, $arg2, $arg3)
16 printf("Static method called with args: %s, %s, %s\n", $arg1, $arg2, $arg3);
31 $args = ['arg1', 'arg2', 'arg3'];
44 Static method called with args: arg1, arg2, arg3
45 Static method called with args: arg1, arg2, arg3
H A Dbug68475.phpt12 public static function staticMethodWithArgs($arg1, $arg2, $arg3)
14 printf("Static method called with args: %s, %s, %s\n", $arg1, $arg2, $arg3);
26 $args = ['arg1', 'arg2', 'arg3'];
54 Static method called with args: arg1, arg2, arg3
55 Static method called with args: arg1, arg2, arg3
H A Dbug70547.phpt5 function brokenTrace($arg1, &$arg2, $arg3){
17 unset($arg2);
24 $arg2 = "2nd";
25 brokenTrace("1st", $arg2, "3th", "4th");
/PHP-7.3/ext/standard/tests/strings/
H A Dsscanf_basic5.phpt19 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format1);
20 var_dump($arg1, $arg2, $arg3, $arg4);
21 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format2);
22 var_dump($arg1, $arg2, $arg3, $arg4);
26 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4);
27 var_dump($res, $arg1, $arg2, $arg3, $arg4);
28 $res = sscanf($str, $format2,$arg1, $arg2, $arg3, $arg4);
29 var_dump($res, $arg1, $arg2, $arg3, $arg4);
H A Dsscanf_basic8.phpt19 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format1);
20 var_dump($arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
21 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format2);
22 var_dump($arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
26 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
27 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
28 $res = sscanf($str, $format2, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
29 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
H A Dsprintf_basic1.phpt18 $arg2 = "arg2 argument";
28 var_dump( sprintf($format2, $arg1, $arg2) );
31 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
39 string(27) "arg1 argument arg2 argument"
40 string(41) "arg1 argument arg2 argument arg3 argument"
H A Dprintf_basic1.phpt18 $arg2 = "arg2 argument";
32 $result = printf($format2, $arg1, $arg2);
38 $result = printf($format3, $arg1, $arg2, $arg3);
56 arg1 argument arg2 argument
60 arg1 argument arg2 argument arg3 argument
H A Dsprintf_basic3.phpt24 $arg2 = 22.22;
35 var_dump( sprintf($format2, $arg1, $arg2) );
36 var_dump( sprintf($format22, $arg1, $arg2) );
39 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
40 var_dump( sprintf($format33, $arg1, $arg2, $arg3) );
H A Dsprintf_basic9.phpt25 $arg2 = 132;
36 var_dump( sprintf($format2, $arg1, $arg2) );
37 var_dump( sprintf($format22, $arg1, $arg2) );
40 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
41 var_dump( sprintf($format33, $arg1, $arg2, $arg3) );
H A Dprintf_basic3.phpt24 $arg2 = 22.22;
41 $result = printf($format2, $arg1, $arg2);
44 $result = printf($format22, $arg1, $arg2);
49 $result = printf($format3, $arg1, $arg2, $arg3);
52 $result = printf($format33, $arg1, $arg2, $arg3);
H A Dsscanf_basic4.phpt18 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format);
19 var_dump($arg1, $arg2, $arg3, $arg4);
23 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4);
24 var_dump($res, $arg1, $arg2, $arg3, $arg4);
H A Dprintf_basic9.phpt25 $arg2 = 132;
42 $result = printf($format2, $arg1, $arg2);
45 $result = printf($format22, $arg1, $arg2);
50 $result = printf($format3, $arg1, $arg2, $arg3);
53 $result = printf($format33, $arg1, $arg2, $arg3);
H A Dsscanf_basic7.phpt18 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format);
19 var_dump($arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
23 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
24 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
H A Dsscanf_basic6.phpt24 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format);
25 var_dump($arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
29 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
30 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
H A Dsprintf_basic2.phpt19 $arg2 = 222;
29 var_dump( sprintf($format2, $arg1, $arg2) );
32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dvsprintf_basic3.phpt23 $arg2 = array(11.11,22.22);
29 var_dump( vsprintf($format2,$arg2) );
30 var_dump( vsprintf($format22,$arg2) );
H A Dsprintf_basic4.phpt19 $arg2 = FALSE;
29 var_dump( sprintf($format2, $arg1, $arg2) );
32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dsprintf_basic5.phpt19 $arg2 = 66;
29 var_dump( sprintf($format2, $arg1, $arg2) );
32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
/PHP-7.3/tests/lang/
H A DpassByReference_001.phpt5 function f($arg1, &$arg2)
8 var_dump($arg2++);
11 function g (&$arg1, &$arg2)
14 var_dump($arg2);
/PHP-7.3/ext/standard/tests/general_functions/
H A Dcall_user_func_return.phpt8 function test1($arg1, $arg2)
11 echo "$arg1 $arg2\n";
17 function & test2($arg1, $arg2)
20 echo "$arg1 $arg2\n";
/PHP-7.3/ext/interbase/
H A Dphp_ibase_udf.c361 void udf_call_php2(char *name, PARAMDSC *r, PARAMDSC *arg1, PARAMDSC *arg2) in udf_call_php2() argument
363 PARAMDSC *args[2] = { arg1, arg2 }; in udf_call_php2()
367 void udf_call_php3(char *name, PARAMDSC *r, PARAMDSC *arg1, PARAMDSC *arg2, PARAMDSC *arg3) in udf_call_php3() argument
369 PARAMDSC *args[3] = { arg1, arg2, arg3 }; in udf_call_php3()
373 void udf_call_php4(char *name, PARAMDSC *r, PARAMDSC *arg1, PARAMDSC *arg2, PARAMDSC *arg3, in udf_call_php4() argument
376 PARAMDSC *args[4] = { arg1, arg2, arg3, arg4 }; in udf_call_php4()
380 void udf_call_php5(char *name, PARAMDSC *r, PARAMDSC *arg1, PARAMDSC *arg2, PARAMDSC *arg3, in udf_call_php5() argument
383 PARAMDSC *args[5] = { arg1, arg2, arg3, arg4, arg5 }; in udf_call_php5()
390 PARAMDSC *args[6] = { arg1, arg2, arg3, arg4, arg5, arg6 }; in udf_call_php6()
397 PARAMDSC *args[7] = { arg1, arg2, arg3, arg4, arg5, arg6, arg7 }; in udf_call_php7()
[all …]
/PHP-7.3/ext/reflection/tests/
H A DReflectionMethod_invokeArgs_basic.phpt40 var_dump($methodWithArgs->invokeArgs($testClassInstance, array(1, "arg2")));
41 var_dump($methodWithArgs->invokeArgs($testClassInstance, array(1, "arg2", 3)));
67 Called methodWithArgs(1, arg2)
69 Called methodWithArgs(1, arg2)
/PHP-7.3/ext/standard/
H A Dbrowscap.c308 if (ctx->current_entry != NULL && arg2) { in php_browscap_parser_cb()
312 if ((Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "on", sizeof("on") - 1)) || in php_browscap_parser_cb()
313 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "yes", sizeof("yes") - 1)) || in php_browscap_parser_cb()
314 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "true", sizeof("true") - 1)) in php_browscap_parser_cb()
318 (Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "no", sizeof("no") - 1)) || in php_browscap_parser_cb()
319 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "off", sizeof("off") - 1)) || in php_browscap_parser_cb()
320 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "none", sizeof("none") - 1)) || in php_browscap_parser_cb()
321 (Z_STRLEN_P(arg2) == 5 && !strncasecmp(Z_STRVAL_P(arg2), "false", sizeof("false") - 1)) in php_browscap_parser_cb()
325 new_value = browscap_intern_str(ctx, Z_STR_P(arg2)); in php_browscap_parser_cb()
330 if (new_value == Z_STR_P(arg2)) { in php_browscap_parser_cb()
[all …]

Completed in 34 milliseconds

123456