/PHP-8.2/ext/standard/tests/strings/ |
H A D | sprintf_basic1.phpt | 12 $arg1 = "arg1 argument"; 20 var_dump( sprintf($format1, $arg1) ); 23 var_dump( sprintf($format2, $arg1, $arg2) ); 26 var_dump( sprintf($format3, $arg1, $arg2, $arg3) ); 33 string(13) "arg1 argument" 34 string(27) "arg1 argument arg2 argument" 35 string(41) "arg1 argument arg2 argument arg3 argument"
|
H A D | sprintf_basic3.phpt | 18 $arg1 = 11.11; 26 var_dump( sprintf($format1, $arg1) ); 27 var_dump( sprintf($format11, $arg1) ); 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 | 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 | printf_basic1.phpt | 12 $arg1 = "arg1 argument"; 22 $result = printf($format1, $arg1); 27 $result = printf($format2, $arg1, $arg2); 33 $result = printf($format3, $arg1, $arg2, $arg3); 46 arg1 argument 50 arg1 argument arg2 argument 54 arg1 argument arg2 argument arg3 argument
|
H A D | sprintf_basic9.phpt | 19 $arg1 = 11; 27 var_dump( sprintf($format1, $arg1) ); 28 var_dump( sprintf($format11, $arg1) ); 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_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 | printf_basic3.phpt | 18 $arg1 = 11.11; 28 $result = printf($format1, $arg1); 31 $result = printf($format11, $arg1); 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 | printf_basic9.phpt | 19 $arg1 = 11; 29 $result = printf($format1, $arg1); 32 $result = printf($format11, $arg1); 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 | sprintf_basic2.phpt | 13 $arg1 = 111; 21 var_dump( sprintf($format1, $arg1) ); 24 var_dump( sprintf($format2, $arg1, $arg2) ); 27 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | sprintf_basic4.phpt | 13 $arg1 = TRUE; 21 var_dump( sprintf($format1, $arg1) ); 24 var_dump( sprintf($format2, $arg1, $arg2) ); 27 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | sprintf_basic5.phpt | 13 $arg1 = 65; 21 var_dump( sprintf($format1, $arg1) ); 24 var_dump( sprintf($format2, $arg1, $arg2) ); 27 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | sprintf_basic6.phpt | 12 $arg1 = 1000; 20 var_dump( sprintf($format1, $arg1) ); 23 var_dump( sprintf($format2, $arg1, $arg2) ); 26 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | sprintf_basic7.phpt | 19 $arg1 = -1111; 27 var_dump( sprintf($format1, $arg1) ); 30 var_dump( sprintf($format2, $arg1, $arg2) ); 33 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | sprintf_basic7_64bit.phpt | 15 $arg1 = -1111; 23 var_dump( sprintf($format1, $arg1) ); 26 var_dump( sprintf($format2, $arg1, $arg2) ); 29 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | sprintf_basic8.phpt | 18 $arg1 = 021; 26 var_dump( sprintf($format1, $arg1) ); 29 var_dump( sprintf($format2, $arg1, $arg2) ); 32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | sprintf_basic8_64bit.phpt | 14 $arg1 = 021; 22 var_dump( sprintf($format1, $arg1) ); 25 var_dump( sprintf($format2, $arg1, $arg2) ); 28 var_dump( sprintf($format3, $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);
|
/PHP-8.2/tests/lang/ |
H A D | passByReference_001.phpt | 5 function f($arg1, &$arg2) 7 var_dump($arg1++); 11 function g (&$arg1, &$arg2) 13 var_dump($arg1);
|
H A D | passByReference_002.phpt | 6 function f(&$arg1) 8 var_dump($arg1++); 15 Fatal error: Uncaught Error: f(): Argument #1 ($arg1) cannot be passed by reference in %s:%d
|
/PHP-8.2/tests/classes/ |
H A D | method_override_optional_arg_001.phpt | 7 function foo($arg1 = 1) { 12 function foo($arg1 = 2, $arg2 = 3) { 13 var_dump($arg1); 29 Fatal error: Declaration of C::foo() must be compatible with A::foo($arg1 = 1) in %s on line %d
|
/PHP-8.2/ext/spl/ |
H A D | spl_engine.h | 24 static inline void spl_instantiate_arg_ex1(zend_class_entry *pce, zval *retval, zval *arg1) in spl_instantiate_arg_ex1() argument 27 zend_call_known_instance_method_with_1_params(pce->constructor, Z_OBJ_P(retval), NULL, arg1); in spl_instantiate_arg_ex1() 31 zend_class_entry *pce, zval *retval, zval *arg1, zval *arg2) in spl_instantiate_arg_ex2() argument 35 pce->constructor, Z_OBJ_P(retval), NULL, arg1, arg2); in spl_instantiate_arg_ex2()
|
/PHP-8.2/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.2/Zend/tests/ |
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
|