Home
last modified time | relevance | path

Searched refs:args (Results 51 – 75 of 632) sorted by relevance

12345678910>>...26

/PHP-7.1/Zend/tests/
H A Dbug73156.phpt6 public function __call($name, $args) {
7 eval('$args = array(); var_dump(debug_backtrace());');
41 ["args"]=>
H A Dclosure_032.phpt24 [args] => Array
40 [args] => Array
52 [args] => Array
H A Dvm_stack_with_arg_extend.phpt6 function f(...$args) {
7 var_dump(count($args));
/PHP-7.1/ext/standard/tests/strings/
H A Dstrncmp_error.phpt10 /* Test strncmp() function with more/less number of args and invalid args */
19 var_dump( strncmp($str1) ); //One argument, less than expected no. of args
20 var_dump( strncmp($str1, $str2) ); //Two arguments, less than expected no. of args
21 …mp( strncmp($str1, $str2, $len, $extra_arg) ); //Four arguments, greater than expected no. of args
H A Dsscanf_basic1.phpt19 echo "\n-- Try sccanf() WITHOUT optional args --\n";
24 echo "\n-- Try sccanf() WITH optional args --\n";
34 -- Try sccanf() WITHOUT optional args --
39 -- Try sccanf() WITH optional args --
H A Dsscanf_basic2.phpt19 echo "\n-- Try sccanf() WITHOUT optional args --\n";
24 echo "\n-- Try sccanf() WITH optional args --\n";
34 -- Try sccanf() WITHOUT optional args --
39 -- Try sccanf() WITH optional args --
H A Dsscanf_basic3.phpt16 echo "\n-- Try sccanf() WITHOUT optional args --\n";
21 echo "\n-- Try sccanf() WITH optional args --\n";
31 -- Try sccanf() WITHOUT optional args --
37 -- Try sccanf() WITH optional args --
H A Dsscanf_basic4.phpt16 echo "\n-- Try sccanf() WITHOUT optional args --\n";
21 echo "\n-- Try sccanf() WITH optional args --\n";
31 -- Try sccanf() WITHOUT optional args --
37 -- Try sccanf() WITH optional args --
H A Dvsprintf_variation2.phpt2 Test vsprintf() function : usage variations - unexpected values for args argument
5 /* Prototype : string vsprintf(string format, array args)
12 * the '$args' arguments of the function
15 echo "*** Testing vsprintf() : with unexpected values for args argument ***\n";
83 // loop through each element of the array for args
97 *** Testing vsprintf() : with unexpected values for args argument ***
H A Dsscanf_basic7.phpt16 echo "\n-- Try sccanf() WITHOUT optional args --\n";
21 echo "\n-- Try sccanf() WITH optional args --\n";
31 -- Try sccanf() WITHOUT optional args --
39 -- Try sccanf() WITH optional args --
H A Dsscanf_basic6.phpt22 echo "\n-- Try sccanf() WITHOUT optional args --\n";
27 echo "\n-- Try sccanf() WITH optional args --\n";
37 -- Try sccanf() WITHOUT optional args --
45 -- Try sccanf() WITH optional args --
H A Dvprintf_variation2.phpt2 Test vprintf() function : usage variations - unexpected values for args argument
5 /* Prototype : string vprintf(string format, array args)
12 * the '$args' arguments of the function
15 echo "*** Testing vprintf() : with unexpected values for args argument ***\n";
83 // loop through each element of the array for args
99 *** Testing vprintf() : with unexpected values for args argument ***
H A Dsscanf_basic5.phpt17 echo "\n-- Try sccanf() WITHOUT optional args --\n";
24 echo "\n-- Try sccanf() WITH optional args --\n";
37 -- Try sccanf() WITHOUT optional args --
47 -- Try sccanf() WITH optional args --
/PHP-7.1/ext/spl/tests/
H A Dbug73896.phpt6 public static function call($callable, array $args) {
7 return call_user_func_array($callable, [$args]);
16 public function __call($method, $args) {
H A DarrayObject_magicMethods1.phpt13 $args = func_get_args();
14 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
17 $args = func_get_args();
18 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
21 $args = func_get_args();
22 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
25 $args = func_get_args();
26 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
H A DarrayObject_magicMethods2.phpt13 $args = func_get_args();
14 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
17 $args = func_get_args();
18 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
21 $args = func_get_args();
22 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
25 $args = func_get_args();
26 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
/PHP-7.1/ext/reflection/tests/
H A DReflectionProperty_getValue_error.phpt21 echo "Too few args:\n";
24 echo "\nToo many args:\n";
33 echo "\nStatic property / too many args:\n";
54 Too few args:
59 Too many args:
71 Static property / too many args:
/PHP-7.1/Zend/tests/arg_unpack/
H A Dmany_args.phpt6 function fn(...$args) {
7 var_dump(count($args));
H A Ddynamic.phpt6 $fn = function(...$args) {
7 var_dump($args);
H A Dnew.phpt7 public function __construct(...$args) {
8 var_dump($args);
/PHP-7.1/ext/filter/docs/
H A Dinput_get_args.php11 $args = array( variable
38 $myinputs = input_get_args($args, INPUT_DATA, $data);
/PHP-7.1/ext/intl/msgformat/
H A Dmsgformat_helpers.h21 void umsg_format_helper(MessageFormatter_object *mfo, HashTable *args,
23 void umsg_parse_helper(UMessageFormat *fmt, int *count, zval **args,
/PHP-7.1/ext/standard/
H A Dassert.c215 zval *args = safe_emalloc(!description ? 3 : 4, sizeof(zval), 0); in PHP_FUNCTION() local
221 ZVAL_STRING(&args[0], SAFE_STRING(filename)); in PHP_FUNCTION()
222 ZVAL_LONG (&args[1], lineno); in PHP_FUNCTION()
223 ZVAL_STRING(&args[2], SAFE_STRING(myeval)); in PHP_FUNCTION()
229 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 3, args); in PHP_FUNCTION()
231 zval_ptr_dtor(&(args[i])); in PHP_FUNCTION()
234 ZVAL_STR(&args[3], zval_get_string(description)); in PHP_FUNCTION()
235 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 4, args); in PHP_FUNCTION()
237 zval_ptr_dtor(&(args[i])); in PHP_FUNCTION()
241 efree(args); in PHP_FUNCTION()
H A Darray.c957 zval args[2]; in php_array_user_compare() local
1066 zval args[2]; in php_array_user_key_compare() local
3169 arg = args;
3190 arg = args;
3871 zval args[2]; local
3897 zval *args; local
4325 zval *args; local
4696 zval *args; local
4848 zval* args; local
5199 zval args[2]; local
[all …]
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_out.c1169 va_list args; in phpdbg_output_err_buf() local
1180 va_end(args); in phpdbg_output_err_buf()
1189 va_list args; in phpdbg_print() local
1198 va_end(args); in phpdbg_print()
1211 va_list args; in phpdbg_xml_internal() local
1234 va_list args; in phpdbg_log_internal() local
1241 va_end(args); in phpdbg_log_internal()
1250 va_list args; in phpdbg_out_internal() local
1261 va_end(args); in phpdbg_out_internal()
1292 va_list args; in phpdbg_rlog_internal() local
[all …]

Completed in 40 milliseconds

12345678910>>...26