Searched refs:readfile (Results 1 – 25 of 48) sorted by last modified time
12
/PHP-5.5/ext/zlib/tests/ |
H A D | zlib_scheme_file_read_file_basic.phpt | 13 readfile($srcFile);
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | bug60723.phpt | 13 readfile($log);
|
/PHP-5.5/ext/standard/tests/filters/ |
H A D | bug35916.phpt | 36 readfile($file);
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | readfile_basic-win32.phpt | 2 Test readfile() function: basic functionality 11 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); 17 echo "*** Testing readfile() : basic functionality ***\n"; 41 $count = readfile($file_path."/".$file_prefix."1.tmp"); 51 *** Testing readfile() : basic functionality ***
|
H A D | readfile_basic.phpt | 2 Test readfile() function: basic functionality 11 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); 17 echo "*** Testing readfile() : basic functionality ***\n"; 41 $count = readfile($file_path."/".$file_prefix."1.tmp"); 51 *** Testing readfile() : basic functionality ***
|
H A D | readfile_error.phpt | 2 Test readfile() function: error conditions 11 echo "*** Test readfile(): error conditions ***\n"; 13 var_dump( readfile() ); // args < expected 16 echo "\n-- Testing readfile() with invalid arguments --\n"; 18 var_dump( readfile(NULL) ); // NULL as $filename 19 var_dump( readfile('') ); // empty string as $filename 26 var_dump( readfile($non_existent_file) ); 31 *** Test readfile(): error conditions *** 32 -- Testing readfile() with unexpected no. of arguments -- 40 -- Testing readfile() with invalid arguments -- [all …]
|
H A D | readfile_variation1.phpt | 2 Test readfile() function: usage variation - stream_context 5 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); 9 /* test readfile() with third argument : context */ 15 /* Variation 1 : Check working of third argument of readfile() */ 17 echo "*** Testing readfile(): checking third argument ***\n"; 27 $count = readfile($filename, true, $context); 38 *** Testing readfile(): checking third argument ***
|
H A D | readfile_variation10-win32.phpt | 2 Test readfile() function : variation - various invalid paths 12 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) 18 echo "*** Testing readfile() : variation ***\n"; 40 readfile($value); 46 *** Testing readfile() : variation *** 50 Warning: readfile(-1): failed to open stream: No such file or directory in %s on line %d 54 Warning: readfile(1): failed to open stream: No such file or directory in %s on line %d 58 Warning: readfile(): Filename cannot be empty in %s on line %d 62 Warning: readfile(): Filename cannot be empty in %s on line %d 66 Warning: readfile(): Filename cannot be empty in %s on line %d [all …]
|
H A D | readfile_variation10.phpt | 2 Test readfile() function : variation - various invalid paths 18 echo "*** Testing readfile() : variation ***\n"; 42 readfile($name); 48 *** Testing readfile() : variation *** 51 Warning: readfile(-1): failed to open stream: %s in %s on line %d 54 Warning: readfile(1): failed to open stream: %s in %s on line %d 57 Warning: readfile(): Filename cannot be empty in %s on line %d 60 Warning: readfile(): Filename cannot be empty in %s on line %d 63 Warning: readfile(): Filename cannot be empty in %s on line %d 66 Warning: readfile( ): failed to open stream: %s in %s on line %d [all …]
|
H A D | readfile_variation2.phpt | 2 Test readfile() function: usage variations - links 17 Read link using readfile() 37 /* Checking readfile() operation on soft link */ 38 echo "*** Testing readfile() on soft link ***\n"; 42 // readfile() on soft link 43 $count = readfile($linkname); // with default args 49 /* Checking readfile() operation on hard link */ 53 // readfile() on hard link 54 $count = readfile($linkname); // default args 68 *** Testing readfile() on soft link *** [all …]
|
H A D | readfile_variation3.phpt | 2 Test readfile() function: usage variation - include path 5 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); 8 /* test readfile() by providing an include path, second argument */ 16 echo "*** Testing readfile(): checking second argument, include path ***\n"; 29 $count = readfile("readfile_variation3.tmp", true); 33 echo "*** Testing readfile(): checking second argument, include path with context specified ***\n"; 35 $count = readfile("readfile_variation3.tmp", true, $context); 47 *** Testing readfile(): checking second argument, include path *** 55 *** Testing readfile(): checking second argument, include path with context specified ***
|
H A D | readfile_variation4.phpt | 2 Test readfile() function : usage variation 13 echo "*** Testing readfile() : usage variation ***\n"; 28 fwrite($h, "testing readfile"); 119 $h = readfile($filename, $use_include_path, $value); 134 *** Testing readfile() : usage variation *** 173 Error: 2 - readfile() expects parameter 3 to be resource, array given, %s(%d) 189 testing readfile 192 testing readfile 243 testing readfile 246 testing readfile [all …]
|
H A D | readfile_variation5.phpt | 130 testing readfile 133 testing readfile 136 testing readfile 139 testing readfile 142 testing readfile 145 testing readfile 148 testing readfile 151 testing readfile 154 testing readfile 173 testing readfile [all …]
|
H A D | readfile_variation6.phpt | 2 Test readfile() function : variation - test include path 7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) 15 echo "*** Testing readfile() : variation ***\n"; 40 readfile($filename, true); 48 *** Testing readfile() : variation ***
|
H A D | readfile_variation7.phpt | 2 Test readfile() function : variation 7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) 15 echo "*** Testing readfile() : variation ***\n"; 40 readfile($filename, true); 48 *** Testing readfile() : variation ***
|
H A D | readfile_variation8-win32.phpt | 2 Test readfile() function : variation 12 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) 18 echo "*** Testing readfile() : variation ***\n"; 63 $ok = readfile($dir.'\\'.$theFile); 77 *** Testing readfile() : variation *** 89 Warning: readfile(%s\readfileVar8\readfileVar8Sub\..\\\readfileVar8Sub\\..\\..\readfileVar8Sub\file… 93 Warning: readfile(%s\readfileVar8\readfileVar8Sub\BADDIR\fileToRead.tmp): failed to open stream: No… 105 Warning: readfile(BADDIR\fileToRead.tmp): failed to open stream: No such file or directory in %s on…
|
H A D | readfile_variation9.phpt | 2 Test readfile() function : variation - variable types of path 7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) 13 echo "*** Testing readfile() : variation ***\n"; 55 $ok = readfile($dir.'/'.$theFile); 69 *** Testing readfile() : variation *** 81 Warning: readfile(%sreadfileVar8Sub/..///readfileVar8Sub//..//../readfileVar8Sub/fileToRead.tmp): f… 85 Warning: readfile(%sreadfileVar8Sub/BADDIR/fileToRead.tmp): failed to open stream: No such file or … 97 Warning: readfile(BADDIR/fileToRead.tmp): failed to open stream: No such file or directory in %s on…
|
H A D | fwrite_variation5.phpt | 109 readfile($filename);
|
H A D | file_put_contents_variation1.phpt | 23 readfile($filename); 28 readfile($filename);
|
H A D | file_put_contents_variation2.phpt | 107 readfile($filename);
|
H A D | file_put_contents_variation9.phpt | 51 readfile($file);
|
H A D | fflush_basic.phpt | 31 var_dump( readfile($filename) );
|
H A D | fflush_variation1-win32.phpt | 58 var_dump( readfile($file_name) );
|
H A D | fflush_variation1.phpt | 59 var_dump( readfile($file_name) );
|
H A D | fflush_variation2.phpt | 58 var_dump( readfile($symlink_name) );
|
Completed in 42 milliseconds
12