/PHP-5.6/Zend/tests/variadic/ |
H A D | typehint_error.phpt | 6 function test(array... $args) { 7 var_dump($args);
|
H A D | typehint_suppressed_error.phpt | 6 function test(array... $args) { 7 var_dump($args);
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | sscanf_basic8.phpt | 17 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 D | vfprintf_error1.phpt | 9 /* 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 D | vsprintf_variation6.phpt | 5 /* 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 D | vprintf_error.phpt | 5 /* Prototype : int vprintf(string $format , array $args) 14 $args = array("hello"); 25 var_dump( vprintf($format, $args, $extra_arg) );
|
H A D | vsprintf_error.phpt | 5 /* Prototype : string vsprintf(string $format , array $args) 14 $args = array("hello"); 25 var_dump( vsprintf($format, $args, $extra_arg) );
|
H A D | vprintf_variation6.phpt | 5 /* 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 D | vprintf_variation8.phpt | 5 /* 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 D | vsprintf_variation10.phpt | 5 /* 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 D | vsprintf_variation8.phpt | 5 /* 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 D | lstat_stat_error.phpt | 20 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 D | tempnam_variation3-win32.phpt | 14 /* Passing invalid/non-existing args for $prefix */ 27 /* Valid args (casting)*/ 35 /* Invalid args */ 38 /* Valid args*/ 45 /* Invalid args */
|
H A D | copy_error.phpt | 11 /* Invalid args */ 14 /* No.of args less than expected */ 18 /* No.of args less than expected */
|
H A D | readlink_realpath_error.phpt | 19 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 D | heap_top_variation_001.phpt | 2 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 D | spl_heap_recoverfromcorruption_arguments.phpt | 9 //Line below should throw a warning as no args are expected 10 $h->recoverFromCorruption("no args");
|
/PHP-5.6/Zend/tests/ |
H A D | bug61273.phpt | 10 $args = array_fill(0, 64 * 1024 - 64, 0); 11 call_user_func_array(function(&$a) {}, $args);
|
H A D | bug67938.phpt | 12 public function foo(...$args) { 15 public function bar(array $bar, ...$args) {
|
H A D | bug65108.phpt | 7 static function __callStatic($name, $args) {} 21 function __call($name, $args) {}
|
/PHP-5.6/ext/phar/phar/ |
H A D | clicommand.inc | 22 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 D | base64_encode_error_001.phpt | 2 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 D | phpdbg_utils.c | 231 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 D | phpdbg_frame.c | 105 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 D | traversable_throwing_exception.phpt | 6 function test(...$args) { 7 var_dump($args);
|