Home
last modified time | relevance | path

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

123456789

/PHP-7.3/ext/standard/tests/strings/
H A Dsprintf_basic1.phpt5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
17 $arg1 = "arg1 argument";
25 var_dump( sprintf($format1, $arg1) );
28 var_dump( sprintf($format2, $arg1, $arg2) );
31 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
38 string(13) "arg1 argument"
39 string(27) "arg1 argument arg2 argument"
40 string(41) "arg1 argument arg2 argument arg3 argument"
H A Dsprintf_basic3.phpt5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
23 $arg1 = 11.11;
31 var_dump( sprintf($format1, $arg1) );
32 var_dump( sprintf($format11, $arg1) );
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.phpt5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
24 $arg1 = 11;
32 var_dump( sprintf($format1, $arg1) );
33 var_dump( sprintf($format11, $arg1) );
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_basic1.phpt17 $arg1 = "arg1 argument";
27 $result = printf($format1, $arg1);
32 $result = printf($format2, $arg1, $arg2);
38 $result = printf($format3, $arg1, $arg2, $arg3);
52 arg1 argument
56 arg1 argument arg2 argument
60 arg1 argument arg2 argument arg3 argument
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_basic2.phpt5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
18 $arg1 = 111;
26 var_dump( sprintf($format1, $arg1) );
29 var_dump( sprintf($format2, $arg1, $arg2) );
32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dprintf_basic3.phpt23 $arg1 = 11.11;
33 $result = printf($format1, $arg1);
36 $result = printf($format11, $arg1);
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 Dsprintf_basic4.phpt5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
18 $arg1 = TRUE;
26 var_dump( sprintf($format1, $arg1) );
29 var_dump( sprintf($format2, $arg1, $arg2) );
32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dsprintf_basic5.phpt5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
18 $arg1 = 65;
26 var_dump( sprintf($format1, $arg1) );
29 var_dump( sprintf($format2, $arg1, $arg2) );
32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dsprintf_basic6.phpt5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
17 $arg1 = 1000;
25 var_dump( sprintf($format1, $arg1) );
28 var_dump( sprintf($format2, $arg1, $arg2) );
31 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dprintf_basic9.phpt24 $arg1 = 11;
34 $result = printf($format1, $arg1);
37 $result = printf($format11, $arg1);
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 Dsprintf_basic7.phpt11 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
24 $arg1 = -1111;
32 var_dump( sprintf($format1, $arg1) );
35 var_dump( sprintf($format2, $arg1, $arg2) );
38 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dsprintf_basic7_64bit.phpt7 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
20 $arg1 = -1111;
28 var_dump( sprintf($format1, $arg1) );
31 var_dump( sprintf($format2, $arg1, $arg2) );
34 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dsprintf_basic8.phpt11 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
23 $arg1 = 021;
31 var_dump( sprintf($format1, $arg1) );
34 var_dump( sprintf($format2, $arg1, $arg2) );
37 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
H A Dsprintf_basic8_64bit.phpt7 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
19 $arg1 = 021;
27 var_dump( sprintf($format1, $arg1) );
30 var_dump( sprintf($format2, $arg1, $arg2) );
33 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
/PHP-7.3/tests/lang/
H A DpassByReference_001.phpt5 function f($arg1, &$arg2)
7 var_dump($arg1++);
11 function g (&$arg1, &$arg2)
13 var_dump($arg1);
/PHP-7.3/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 Warning: Declaration of C::foo() should be compatible with A::foo($arg1 = 1) in %s on line %d
/PHP-7.3/ext/interbase/
H A Dphp_ibase_udf.c355 void udf_call_php1(char *name, PARAMDSC *r, PARAMDSC *arg1) in udf_call_php1() argument
357 PARAMDSC *args[1] = { arg1 }; in udf_call_php1()
361 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()
376 PARAMDSC *args[4] = { arg1, arg2, arg3, arg4 }; in udf_call_php4()
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/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
/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/Zend/
H A Dzend_ini.h101 #define ZEND_INI_ENTRY3_EX(name, default_value, modifiable, on_modify, arg1, arg2, arg3, displayer)… argument
104 #define ZEND_INI_ENTRY3(name, default_value, modifiable, on_modify, arg1, arg2, arg3) \ argument
105 ZEND_INI_ENTRY3_EX(name, default_value, modifiable, on_modify, arg1, arg2, arg3, NULL)
107 #define ZEND_INI_ENTRY2_EX(name, default_value, modifiable, on_modify, arg1, arg2, displayer) \ argument
108 ZEND_INI_ENTRY3_EX(name, default_value, modifiable, on_modify, arg1, arg2, NULL, displayer)
110 #define ZEND_INI_ENTRY2(name, default_value, modifiable, on_modify, arg1, arg2) \ argument
111 ZEND_INI_ENTRY2_EX(name, default_value, modifiable, on_modify, arg1, arg2, NULL)
113 #define ZEND_INI_ENTRY1_EX(name, default_value, modifiable, on_modify, arg1, displayer) \ argument
114 ZEND_INI_ENTRY3_EX(name, default_value, modifiable, on_modify, arg1, NULL, NULL, displayer)
116 #define ZEND_INI_ENTRY1(name, default_value, modifiable, on_modify, arg1) \ argument
[all …]
/PHP-7.3/ext/sockets/
H A Dsockets.c1071 zval *arg1; local
1109 zval *arg1; local
1149 zval *arg1; local
1173 zval *arg1; local
1203 zval *arg1; local
1246 zval *arg1; local
1751 zval *arg1; local
1998 zval *arg1; local
2316 zval *arg1; local
2349 if (arg1) {
[all …]
/PHP-7.3/ext/spl/
H A Dspl_engine.h31 static inline int spl_instantiate_arg_ex1(zend_class_entry *pce, zval *retval, zval *arg1) in spl_instantiate_arg_ex1() argument
36 …, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.function_name), NULL, 1, arg1, NULL); in spl_instantiate_arg_ex1()
42 static inline int spl_instantiate_arg_ex2(zend_class_entry *pce, zval *retval, zval *arg1, zval *ar… in spl_instantiate_arg_ex2() argument
47 …, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.function_name), NULL, 2, arg1, arg2); in spl_instantiate_arg_ex2()

Completed in 34 milliseconds

123456789