Home
last modified time | relevance | path

Searched refs:args (Results 76 – 100 of 615) sorted by relevance

12345678910>>...25

/PHP-5.6/Zend/tests/variadic/
H A Dtypehint_error.phpt6 function test(array... $args) {
7 var_dump($args);
H A Dtypehint_suppressed_error.phpt6 function test(array... $args) {
7 var_dump($args);
/PHP-5.6/ext/standard/tests/strings/
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 --
H A Dvfprintf_error1.phpt9 /* Prototype : int vfprintf(resource stream, string format, array args)
21 $args = array( 1, 2 );
23 var_dump( vfprintf( $fp, $format, $args, $extra_arg ) );
H A Dvsprintf_variation6.phpt5 /* Prototype : string vsprintf(string format, array args)
12 * the '$format' and '$args' arguments of the function
62 foreach($args_array as $args) {
64 var_dump( vsprintf($formats, $args) );
H A Dvprintf_error.phpt5 /* Prototype : int vprintf(string $format , array $args)
14 $args = array("hello");
25 var_dump( vprintf($format, $args, $extra_arg) );
H A Dvsprintf_error.phpt5 /* Prototype : string vsprintf(string $format , array $args)
14 $args = array("hello");
25 var_dump( vsprintf($format, $args, $extra_arg) );
H A Dvprintf_variation6.phpt5 /* Prototype : string vprintf(string format, array args)
12 * the '$format' and '$args' arguments of the function
62 foreach($args_array as $args) {
64 $result = vprintf($formats, $args);
H A Dvprintf_variation8.phpt5 /* Prototype : string vprintf(string format, array args)
12 * the '$format' and '$args' arguments of the function
65 foreach($args_array as $args) {
67 $result = vprintf($formats, $args);
H A Dvsprintf_variation10.phpt5 /* Prototype : string vsprintf(string format, array args)
12 * the '$format' and '$args' arguments of the function
69 foreach($args_array as $args) {
71 var_dump( vsprintf($formats, $args) );
H A Dvsprintf_variation8.phpt5 /* Prototype : string vsprintf(string format, array args)
12 * the '$format' and '$args' arguments of the function
65 foreach($args_array as $args) {
67 var_dump( vsprintf($formats, $args) );
/PHP-5.6/ext/standard/tests/file/
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 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 Dcopy_error.phpt11 /* Invalid args */
14 /* No.of args less than expected */
18 /* No.of args less than expected */
H A Dreadlink_realpath_error.phpt19 var_dump( readlink() ); // args < expected
20 var_dump( readlink(__FILE__, 2) ); // args > expected
32 var_dump( realpath() ); // args < expected
33 var_dump( realpath(1, 2) ); // args > expected
/PHP-5.6/ext/spl/tests/
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.6/Zend/tests/
H A Dbug61273.phpt10 $args = array_fill(0, 64 * 1024 - 64, 0);
11 call_user_func_array(function(&$a) {}, $args);
H A Dbug67938.phpt12 public function foo(...$args) {
15 public function bar(array $bar, ...$args) {
H A Dbug65108.phpt7 static function __callStatic($name, $args) {}
21 function __call($name, $args) {}
/PHP-5.6/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 …]
/PHP-5.6/ext/standard/tests/url/
H A Dbase64_encode_error_001.phpt2 Test base64_encode() function : error conditions - wrong number of args
11 echo "*** Testing base64_encode() : error conditions - wrong number of args ***\n";
26 *** Testing base64_encode() : error conditions - wrong number of args ***
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_utils.c231 va_list args; in phpdbg_print() local
234 va_start(args, format); in phpdbg_print()
235 vspprintf(&buffer, 0, format, args); in phpdbg_print()
236 va_end(args); in phpdbg_print()
299 va_list args; in phpdbg_rlog() local
302 va_start(args, fmt); in phpdbg_rlog()
314 fp, format, args); in phpdbg_rlog()
319 va_end(args); in phpdbg_rlog()
H A Dphpdbg_frame.c105 zval **funcname, **class, **type, **args, **argstmp; in phpdbg_dump_prototype() local
131 (void **)&args) == SUCCESS) { in phpdbg_dump_prototype()
139 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(args), &iterator); in phpdbg_dump_prototype()
140 while (zend_hash_get_current_data_ex(Z_ARRVAL_PP(args), in phpdbg_dump_prototype()
155 zend_hash_move_forward_ex(Z_ARRVAL_PP(args), &iterator); in phpdbg_dump_prototype()
/PHP-5.6/Zend/tests/arg_unpack/
H A Dtraversable_throwing_exception.phpt6 function test(...$args) {
7 var_dump($args);

Completed in 34 milliseconds

12345678910>>...25