/PHP-7.3/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) {} 23 Warning: Declaration of test3::foo($arg, $arg2) should be compatible with test::foo($arg, $arg2 = N…
|
H A D | objects_007.phpt | 9 function foo($arg, &$arg2 = NULL) {} 13 function foo($arg, &$arg2 = NULL) {} 17 function foo($arg, &$arg2) {} 23 Warning: Declaration of test3::foo($arg, &$arg2) should 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-7.3/ext/standard/tests/strings/ |
H A D | sscanf_basic5.phpt | 19 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 D | sscanf_basic8.phpt | 19 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 D | sprintf_basic1.phpt | 18 $arg2 = "arg2 argument"; 28 var_dump( sprintf($format2, $arg1, $arg2) ); 31 var_dump( sprintf($format3, $arg1, $arg2, $arg3) ); 39 string(27) "arg1 argument arg2 argument" 40 string(41) "arg1 argument arg2 argument arg3 argument"
|
H A D | printf_basic1.phpt | 18 $arg2 = "arg2 argument"; 32 $result = printf($format2, $arg1, $arg2); 38 $result = printf($format3, $arg1, $arg2, $arg3); 56 arg1 argument arg2 argument 60 arg1 argument arg2 argument arg3 argument
|
H A D | sprintf_basic3.phpt | 24 $arg2 = 22.22; 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 D | sprintf_basic9.phpt | 25 $arg2 = 132; 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 D | printf_basic3.phpt | 24 $arg2 = 22.22; 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 D | sscanf_basic4.phpt | 18 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format); 19 var_dump($arg1, $arg2, $arg3, $arg4); 23 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4); 24 var_dump($res, $arg1, $arg2, $arg3, $arg4);
|
H A D | printf_basic9.phpt | 25 $arg2 = 132; 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 D | sscanf_basic7.phpt | 18 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format); 19 var_dump($arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 23 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 24 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
|
H A D | sscanf_basic6.phpt | 24 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format); 25 var_dump($arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 29 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 30 var_dump($res, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
|
H A D | sprintf_basic2.phpt | 19 $arg2 = 222; 29 var_dump( sprintf($format2, $arg1, $arg2) ); 32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | vsprintf_basic3.phpt | 23 $arg2 = array(11.11,22.22); 29 var_dump( vsprintf($format2,$arg2) ); 30 var_dump( vsprintf($format22,$arg2) );
|
H A D | sprintf_basic4.phpt | 19 $arg2 = FALSE; 29 var_dump( sprintf($format2, $arg1, $arg2) ); 32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
H A D | sprintf_basic5.phpt | 19 $arg2 = 66; 29 var_dump( sprintf($format2, $arg1, $arg2) ); 32 var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
|
/PHP-7.3/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-7.3/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-7.3/ext/interbase/ |
H A D | php_ibase_udf.c | 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() 373 void udf_call_php4(char *name, PARAMDSC *r, PARAMDSC *arg1, PARAMDSC *arg2, PARAMDSC *arg3, in udf_call_php4() argument 376 PARAMDSC *args[4] = { arg1, arg2, arg3, arg4 }; in udf_call_php4() 380 void udf_call_php5(char *name, PARAMDSC *r, PARAMDSC *arg1, PARAMDSC *arg2, PARAMDSC *arg3, in udf_call_php5() argument 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/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)
|
/PHP-7.3/ext/standard/ |
H A D | browscap.c | 308 if (ctx->current_entry != NULL && arg2) { in php_browscap_parser_cb() 312 if ((Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "on", sizeof("on") - 1)) || in php_browscap_parser_cb() 313 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "yes", sizeof("yes") - 1)) || in php_browscap_parser_cb() 314 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "true", sizeof("true") - 1)) in php_browscap_parser_cb() 318 (Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "no", sizeof("no") - 1)) || in php_browscap_parser_cb() 319 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "off", sizeof("off") - 1)) || in php_browscap_parser_cb() 320 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "none", sizeof("none") - 1)) || in php_browscap_parser_cb() 321 (Z_STRLEN_P(arg2) == 5 && !strncasecmp(Z_STRVAL_P(arg2), "false", sizeof("false") - 1)) in php_browscap_parser_cb() 325 new_value = browscap_intern_str(ctx, Z_STR_P(arg2)); in php_browscap_parser_cb() 330 if (new_value == Z_STR_P(arg2)) { in php_browscap_parser_cb() [all …]
|