/PHP-7.1/ext/spl/tests/ |
H A D | arrayObject_magicMethods3.phpt | 13 $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 D | arrayObject_magicMethods4.phpt | 18 $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 D | arrayObject_magicMethods5.phpt | 18 $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 D | arrayObject_magicMethods6.phpt | 18 $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 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-7.1/ext/standard/tests/file/ |
H A D | is_dir_error.phpt | 11 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 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 */
|
/PHP-7.1/Zend/tests/variadic/ |
H A D | by_ref.phpt | 6 function test(&... $args) { 8 foreach ($args as &$arg) {
|
H A D | typehint_suppressed_error.phpt | 6 function test(array... $args) { 7 var_dump($args);
|
H A D | typehint_error.phpt | 6 function test(array... $args) { 7 var_dump($args);
|
/PHP-7.1/Zend/tests/arg_unpack/ |
H A D | by_ref_separation.phpt | 6 function inc(&... $args) { 7 foreach ($args as &$arg) {
|
/PHP-7.1/ext/zip/lib/ |
H A D | zip_source_filep.c | 339 …zip_source_args_seek_t *args = ZIP_SOURCE_GET_ARGS(zip_source_args_seek_t, data, len, &ctx->error); in read_file() local 341 if (args == NULL) in read_file() 346 switch (args->whence) { in read_file() 348 new_current = args->offset; in read_file() 353 if (_zip_fseek(ctx->f, args->offset, SEEK_END, &ctx->error) < 0) { in read_file() 363 new_current = (zip_int64_t)ctx->end + args->offset; in read_file() 367 new_current = (zip_int64_t)ctx->current + args->offset; in read_file() 391 zip_source_args_seek_t *args; in read_file() local 393 args = ZIP_SOURCE_GET_ARGS(zip_source_args_seek_t, data, len, &ctx->error); in read_file() 394 if (args == NULL) { in read_file() [all …]
|
/PHP-7.1/Zend/tests/ |
H A D | call_static.phpt | 7 static function __callStatic($fname, $args) 9 echo $fname, '() called with ', count($args), " arguments\n";
|
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-7.1/ext/standard/ |
H A D | user_filters.c | 169 zval args[4]; in userfilter_filter() local 192 ZVAL_RES(&args[0], zend_register_resource(buckets_in, le_bucket_brigade)); in userfilter_filter() 196 ZVAL_LONG(&args[2], *bytes_consumed); in userfilter_filter() 198 ZVAL_NULL(&args[2]); in userfilter_filter() 201 ZVAL_BOOL(&args[3], flags & PSFS_FLAG_FLUSH_CLOSE); in userfilter_filter() 207 4, args, in userfilter_filter() 220 *bytes_consumed = zval_get_long(&args[2]); in userfilter_filter() 249 zval_ptr_dtor(&args[3]); in userfilter_filter() 250 zval_ptr_dtor(&args[2]); in userfilter_filter() 251 zval_ptr_dtor(&args[1]); in userfilter_filter() [all …]
|
/PHP-7.1/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 ) );
|
/PHP-7.1/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-7.1/ext/reflection/tests/ |
H A D | ReflectionGenerator_getTrace.phpt | 37 ["args"]=> 49 ["args"]=>
|
/PHP-7.1/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 ***
|