Home
last modified time | relevance | path

Searched refs:arg1 (Results 1 – 25 of 141) sorted by relevance

123456

/PHP-8.2/ext/standard/tests/strings/
H A Dsprintf_basic1.phpt12 $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 Dsprintf_basic3.phpt18 $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 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 Dprintf_basic1.phpt12 $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 Dsprintf_basic9.phpt19 $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 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 Dprintf_basic3.phpt18 $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 Dprintf_basic9.phpt19 $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 Dsprintf_basic2.phpt13 $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 Dsprintf_basic4.phpt13 $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 Dsprintf_basic5.phpt13 $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 Dsprintf_basic6.phpt12 $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 Dsprintf_basic7.phpt19 $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 Dsprintf_basic7_64bit.phpt15 $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 Dsprintf_basic8.phpt18 $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 Dsprintf_basic8_64bit.phpt14 $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 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);
/PHP-8.2/tests/lang/
H A DpassByReference_001.phpt5 function f($arg1, &$arg2)
7 var_dump($arg1++);
11 function g (&$arg1, &$arg2)
13 var_dump($arg1);
H A DpassByReference_002.phpt6 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 Dmethod_override_optional_arg_001.phpt7 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 Dspl_engine.h24 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 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/Zend/tests/
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

Completed in 18 milliseconds

123456