Home
last modified time | relevance | path

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

12345678910>>...26

/PHP-7.1/ext/spl/tests/
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-7.1/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 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 */
/PHP-7.1/Zend/tests/variadic/
H A Dby_ref.phpt6 function test(&... $args) {
8 foreach ($args as &$arg) {
H A Dtypehint_suppressed_error.phpt6 function test(array... $args) {
7 var_dump($args);
H A Dtypehint_error.phpt6 function test(array... $args) {
7 var_dump($args);
/PHP-7.1/Zend/tests/arg_unpack/
H A Dby_ref_separation.phpt6 function inc(&... $args) {
7 foreach ($args as &$arg) {
/PHP-7.1/ext/zip/lib/
H A Dzip_source_filep.c339 …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 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 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-7.1/ext/standard/
H A Duser_filters.c169 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 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 ) );
/PHP-7.1/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-7.1/ext/reflection/tests/
H A DReflectionGenerator_getTrace.phpt37 ["args"]=>
49 ["args"]=>
/PHP-7.1/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 ***

Completed in 59 milliseconds

12345678910>>...26