Home
last modified time | relevance | path

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

12345678910>>...24

/PHP-5.5/ext/standard/tests/strings/
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 --
H A Dsscanf_basic8.phpt17 echo "\n-- Try sccanf() WITHOUT optional args --\n";
24 echo "\n-- Try sccanf() WITH optional args --\n";
36 -- Try sccanf() WITHOUT optional args --
50 -- Try sccanf() WITH optional args --
/PHP-5.5/ext/spl/tests/
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";
H A DarrayObject_magicMethods3.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_magicMethods4.phpt18 $args = func_get_args();
19 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
22 $args = func_get_args();
23 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
26 $args = func_get_args();
27 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
30 $args = func_get_args();
31 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
H A DarrayObject_magicMethods5.phpt18 $args = func_get_args();
19 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
22 $args = func_get_args();
23 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
26 $args = func_get_args();
27 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
30 $args = func_get_args();
31 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
H A DarrayObject_magicMethods6.phpt18 $args = func_get_args();
19 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
22 $args = func_get_args();
23 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
26 $args = func_get_args();
27 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
30 $args = func_get_args();
31 echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n";
H A Dheap_top_variation_001.phpt2 SPL: SplHeap top, illegal number of args
10 // top doesn't take any args, lets see what happens if we give it one
H A Dspl_heap_recoverfromcorruption_arguments.phpt9 //Line below should throw a warning as no args are expected
10 $h->recoverFromCorruption("no args");
/PHP-5.5/ext/standard/
H A Dformatted_print.c391 zval ***args, **z_format; in php_formatted_print() local
405 efree(args); in php_formatted_print()
428 efree(args); in php_formatted_print()
429 args = newargs; in php_formatted_print()
470 efree(args); in php_formatted_print()
512 efree(args); in php_formatted_print()
529 efree(args); in php_formatted_print()
549 efree(args); in php_formatted_print()
561 *tmp = **(args[argnum]); in php_formatted_print()
566 tmp = *(args[argnum]); in php_formatted_print()
[all …]
H A Dvar.c42 level = va_arg(args, int); in php_array_element_dump()
61 level = va_arg(args, int); in php_object_property_dump()
174 zval ***args; in PHP_FUNCTION() local
185 efree(args); in PHP_FUNCTION()
193 level = va_arg(args, int); in zval_array_element_dump()
218 level = va_arg(args, int); in zval_object_property_dump()
320 zval ***args; in PHP_FUNCTION() local
331 efree(args); in PHP_FUNCTION()
349 level = va_arg(args, int); in php_array_element_export()
350 buf = va_arg(args, smart_str *); in php_array_element_export()
[all …]
/PHP-5.5/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,
H A Dmsgformat_helpers.cpp365 HashTable *args, in umsg_format_helper() argument
369 int arg_count = zend_hash_num_elements(args); in umsg_format_helper()
397 for (zend_hash_internal_pointer_reset_ex(args, &pos); in umsg_format_helper()
400 args, &str_index, &str_len, &num_index, 0, &pos), in umsg_format_helper()
403 zend_hash_move_forward_ex(args, &pos), argNum++) in umsg_format_helper()
658 ALLOC_INIT_ZVAL((*args)[i]); in umsg_parse_helper()
663 ZVAL_DOUBLE((*args)[i], aDate); in umsg_parse_helper()
671 ZVAL_LONG((*args)[i], fargs[i].getLong()); in umsg_parse_helper()
677 ZVAL_DOUBLE((*args)[i], (double)aInt64); in umsg_parse_helper()
679 ZVAL_LONG((*args)[i], (long)aInt64); in umsg_parse_helper()
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dis_dir_error.phpt11 var_dump( is_dir() ); // Zero No. of args
15 var_dump( is_dir($dir_name, "is_dir_error1") ); // args > expected no.of args
H A Dtempnam_variation3-win32.phpt14 /* Passing invalid/non-existing args for $prefix */
27 /* Valid args (casting)*/
35 /* Invalid args */
38 /* Valid args*/
45 /* Invalid args */
H A Dlstat_stat_error.phpt20 var_dump( lstat() ); // args < expected
21 var_dump( lstat(__FILE__, 2) ); // args > expected
28 var_dump( stat() ); // args < expected
29 var_dump( stat(__FILE__, 2) ); // file, args > expected
30 var_dump( stat(dirname(__FILE__), 2) ); //dir, args > expected
H A Dcopy_error.phpt11 /* Invalid args */
14 /* No.of args less than expected */
18 /* No.of args less than expected */
/PHP-5.5/ext/dom/
H A Dxpath.c77 zval **args = NULL; in dom_xpath_ext_function_php() local
124 MAKE_STD_ZVAL(args[i]); in dom_xpath_ext_function_php()
130 ZVAL_BOOL(args[i], obj->boolval); in dom_xpath_ext_function_php()
133 ZVAL_DOUBLE(args[i], obj->floatval); in dom_xpath_ext_function_php()
138 ZVAL_STRING(args[i], str, 1); in dom_xpath_ext_function_php()
142 array_init(args[i]); in dom_xpath_ext_function_php()
177 fci.params[i] = &args[i]; in dom_xpath_ext_function_php()
189 zval_ptr_dtor(&args[i]); in dom_xpath_ext_function_php()
191 efree(args); in dom_xpath_ext_function_php()
250 zval_ptr_dtor(&args[i]); in dom_xpath_ext_function_php()
[all …]
/PHP-5.5/Zend/tests/
H A Dcall_static.phpt7 static function __callStatic($fname, $args)
9 echo $fname, '() called with ', count($args), " arguments\n";
H A Dbug61273.phpt10 $args = array_fill(0, 64 * 1024 - 64, 0);
11 call_user_func_array(function(&$a) {}, $args);
H A Dbug65108.phpt7 static function __callStatic($name, $args) {}
21 function __call($name, $args) {}
/PHP-5.5/ext/phar/phar/
H A Dclicommand.inc22 protected $args = array();
41 $this->args = call_user_func(array($this, $this->cmds[$command]['arg']));
46 if (strlen($argv[$i]) == 2 && isset($this->args[$argv[$i][1]])) {
61 if (isset($this->args[''])) {
63 if (isset($this->args['']['require']) && $this->args['']['require']) {
67 $this->args['']['val'] = array();
69 $this->args['']['val'][] = $argv[$i++];
76 foreach($this->args as $arg => $inf) {
87 call_user_func(array($this, $this->cmds[$command]['run']), $this->args);
103 $typ = $this->args[$arg]['typ'];
[all …]

Completed in 35 milliseconds

12345678910>>...24