Home
last modified time | relevance | path

Searched refs:context (Results 101 – 125 of 417) sorted by last modified time

12345678910>>...17

/PHP-5.5/ext/standard/tests/file/
H A Drename_variation12-win32.phpt11 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation12.phpt11 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation13-win32.phpt12 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation8-win32.phpt9 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
H A Drename_variation8.phpt9 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
H A Drename_variation9.phpt5 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
9 echo "\n*** Testing rename() by giving stream context as third argument ***\n";
12 $context = stream_context_create();
20 var_dump( rename($dir_name, $new_dir_name, $context) );
33 var_dump( rename($src_name, $dest_name, $context) );
45 *** Testing rename() by giving stream context as third argument ***
H A Drmdir_variation1-win32.phpt12 /* Prototype : bool rmdir(string dirname[, resource context])
H A Drmdir_variation1.phpt12 /* Prototype : bool rmdir(string dirname[, resource context])
H A Drmdir_variation2.phpt2 Test rmdir() function : usage variation - different types for context
7 /* Prototype : bool rmdir(string dirname[, resource context])
106 // non stream context resource
110 // loop through each element of the array for context
H A Dstream_supports_lock.phpt42 resource(%d) of type (stream-context)
H A Dreadfile_basic-win32.phpt11 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] );
H A Dreadfile_basic.phpt11 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] );
H A Dreadfile_error.phpt5 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] );
9 $context = stream_context_create();
14 var_dump( readfile(__FILE__, true, $context, 4) ); // args > expected
21 var_dump( readfile(__FILE__, false, '') ); // empty string as $context
22 var_dump( readfile(__FILE__, true, false) ); // boolean false as $context
H A Dreadfile_variation1.phpt5 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] );
9 /* test readfile() with third argument : context */
18 // creating a context
19 $context = stream_context_create();
27 $count = readfile($filename, true, $context);
H A Dreadfile_variation10-win32.phpt12 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
H A Dreadfile_variation10.phpt12 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
H A Dreadfile_variation2.phpt11 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] );
H A Dreadfile_variation3.phpt5 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] );
32 // use the context argument with include path
33 echo "*** Testing readfile(): checking second argument, include path with context specified ***\n";
34 $context = stream_context_create();
35 $count = readfile("readfile_variation3.tmp", true, $context);
55 *** Testing readfile(): checking second argument, include path with context specified ***
H A Dreadfile_variation4.phpt7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
115 // loop through each element of the array for context
H A Dreadfile_variation5.phpt7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
H A Dreadfile_variation6.phpt7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
H A Dreadfile_variation7.phpt7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
H A Dreadfile_variation8-win32.phpt12 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
H A Dreadfile_variation9.phpt7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
H A Dmkdir_rmdir_error.phpt5 /* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]…
8 Prototype: bool rmdir ( string $dirname [, resource $context] );
15 var_dump( mkdir("testdir", 0777, false, $context, "test") ); // args > expected
20 var_dump( rmdir("testdir", $context, "test") ); // args > expected
36 Notice: Undefined variable: context in %s on line %d
49 Notice: Undefined variable: context in %s on line %d

Completed in 25 milliseconds

12345678910>>...17