/PHP-8.1/ext/standard/tests/strings/ |
H A D | sscanf_basic5.phpt | 14 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 D | sscanf_basic8.phpt | 14 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 D | sprintf_basic1.phpt | 13 $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 D | printf_basic1.phpt | 13 $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 D | sprintf_basic3.phpt | 19 $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 D | sprintf_basic9.phpt | 20 $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 D | sscanf_basic4.phpt | 13 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 D | sscanf_basic7.phpt | 13 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 D | printf_basic3.phpt | 19 $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 D | sscanf_basic6.phpt | 19 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 D | printf_basic9.phpt | 20 $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 D | vsprintf_basic3.phpt | 18 $arg2 = array(11.11,22.22); 24 var_dump( vsprintf($format2,$arg2) ); 25 var_dump( vsprintf($format22,$arg2) );
|
H A D | sprintf_basic2.phpt | 14 $arg2 = 222; 24 var_dump( sprintf($format2, $arg1, $arg2) ); 27 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | sprintf_basic4.phpt | 14 $arg2 = FALSE; 24 var_dump( sprintf($format2, $arg1, $arg2) ); 27 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | vsprintf_basic9.phpt | 18 $arg2 = array(11,132); 24 var_dump( vsprintf($format2,$arg2) ); 25 var_dump( vsprintf($format22,$arg2) );
|
H A D | sprintf_basic5.phpt | 14 $arg2 = 66; 24 var_dump( sprintf($format2, $arg1, $arg2) ); 27 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | sprintf_basic6.phpt | 13 $arg2 = 2e3; 23 var_dump( sprintf($format2, $arg1, $arg2) ); 26 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
/PHP-8.1/Zend/tests/ |
H A D | objects_006.phpt | 9 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 D | objects_007.phpt | 9 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 D | indirect_call_string_001.phpt | 14 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 D | bug68475.phpt | 12 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 D | bug70547.phpt | 5 function brokenTrace($arg1, &$arg2, $arg3){ 17 unset($arg2); 24 $arg2 = "2nd"; 25 brokenTrace("1st", $arg2, "3th", "4th");
|
/PHP-8.1/tests/lang/ |
H A D | passByReference_001.phpt | 5 function f($arg1, &$arg2) 8 var_dump($arg2++); 11 function g (&$arg1, &$arg2) 14 var_dump($arg2);
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | call_user_func_return.phpt | 8 function test1($arg1, $arg2) 11 echo "$arg1 $arg2\n"; 17 function & test2($arg1, $arg2) 20 echo "$arg1 $arg2\n";
|
/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionMethod_invokeArgs_basic.phpt | 40 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)
|