Home
last modified time | relevance | path

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

123456

/PHP-8.2/ext/standard/tests/strings/
H A Dsscanf_basic5.phpt14 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format1);
15 var_dump($arg1, $arg2, $arg3, $arg4);
16 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format2);
17 var_dump($arg1, $arg2, $arg3, $arg4);
21 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4);
22 var_dump($res, $arg1, $arg2, $arg3, $arg4);
23 $res = sscanf($str, $format2,$arg1, $arg2, $arg3, $arg4);
24 var_dump($res, $arg1, $arg2, $arg3, $arg4);
H A Dsscanf_basic8.phpt14 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format1);
15 var_dump($arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
16 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format2);
17 var_dump($arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
21 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
22 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
23 $res = sscanf($str, $format2, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
24 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
H A Dsprintf_basic1.phpt13 $arg2 = "arg2 argument";
23 var_dump( sprintf($format2, $arg1, $arg2) );
26 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
34 string(27) "arg1 argument arg2 argument"
35 string(41) "arg1 argument arg2 argument arg3 argument"
H A Dprintf_basic1.phpt13 $arg2 = "arg2 argument";
27 $result = printf($format2, $arg1, $arg2);
33 $result = printf($format3, $arg1, $arg2, $arg3);
50 arg1 argument arg2 argument
54 arg1 argument arg2 argument arg3 argument
H A Dsprintf_basic3.phpt19 $arg2 = 22.22;
30 var_dump( sprintf($format2, $arg1, $arg2) );
31 var_dump( sprintf($format22, $arg1, $arg2) );
34 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
35 var_dump( sprintf($format33, $arg1, $arg2, $arg3) );
H A Dsprintf_basic9.phpt20 $arg2 = 132;
31 var_dump( sprintf($format2, $arg1, $arg2) );
32 var_dump( sprintf($format22, $arg1, $arg2) );
35 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
36 var_dump( sprintf($format33, $arg1, $arg2, $arg3) );
H A Dsscanf_basic4.phpt13 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format);
14 var_dump($arg1, $arg2, $arg3, $arg4);
18 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4);
19 var_dump($res, $arg1, $arg2, $arg3, $arg4);
H A Dsscanf_basic7.phpt13 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format);
14 var_dump($arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
18 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
19 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
H A Dprintf_basic3.phpt19 $arg2 = 22.22;
36 $result = printf($format2, $arg1, $arg2);
39 $result = printf($format22, $arg1, $arg2);
44 $result = printf($format3, $arg1, $arg2, $arg3);
47 $result = printf($format33, $arg1, $arg2, $arg3);
H A Dsscanf_basic6.phpt19 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format);
20 var_dump($arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
24 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
25 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
H A Dprintf_basic9.phpt20 $arg2 = 132;
37 $result = printf($format2, $arg1, $arg2);
40 $result = printf($format22, $arg1, $arg2);
45 $result = printf($format3, $arg1, $arg2, $arg3);
48 $result = printf($format33, $arg1, $arg2, $arg3);
H A Dvsprintf_basic3.phpt18 $arg2 = array(11.11,22.22);
24 var_dump( vsprintf($format2,$arg2) );
25 var_dump( vsprintf($format22,$arg2) );
H A Dsprintf_basic2.phpt14 $arg2 = 222;
24 var_dump( sprintf($format2, $arg1, $arg2) );
27 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dsprintf_basic4.phpt14 $arg2 = FALSE;
24 var_dump( sprintf($format2, $arg1, $arg2) );
27 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dvsprintf_basic9.phpt18 $arg2 = array(11,132);
24 var_dump( vsprintf($format2,$arg2) );
25 var_dump( vsprintf($format22,$arg2) );
H A Dsprintf_basic5.phpt14 $arg2 = 66;
24 var_dump( sprintf($format2, $arg1, $arg2) );
27 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dsprintf_basic6.phpt13 $arg2 = 2e3;
23 var_dump( sprintf($format2, $arg1, $arg2) );
26 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
/PHP-8.2/Zend/tests/
H A Dobjects_006.phpt9 function foo($arg, $arg2 = NULL) {}
13 function foo($arg, $arg2 = NULL) {}
17 function foo($arg, $arg2) {}
22 Fatal error: Declaration of test3::foo($arg, $arg2) must be compatible with test::foo($arg, $arg2 =…
H A Dobjects_007.phpt9 function foo($arg, &$arg2 = NULL) {}
13 function foo($arg, &$arg2 = NULL) {}
17 function foo($arg, &$arg2) {}
22 Fatal error: Declaration of test3::foo($arg, &$arg2) must 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-8.2/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-8.2/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-8.2/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)

Completed in 38 milliseconds

123456