/PHP-5.5/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_error3.phpt | 7 Description: Seeks on a file pointer 10 Description: Rewind the position of a file pointer 13 Description: Tells file pointer read/write position 42 // rewind on a file handle which is already closed 43 echo "-- Testing rewind() with closed/unset file handle --"; 47 // rewind on a file handle which is unset 49 unset($file_handle); //unset file handle 89 -- Testing rewind() with closed/unset file handle --
|
H A D | lstat_stat_variation18.phpt | 2 Test lstat() and stat() functions: usage variations - dir/file name stored in object 12 Description: Gives information about a file or symbolic link 15 Description: Gives information about a file 18 /* test for stats of dir/file when their names are stored in objects */ 21 require "$file_path/file.inc"; 24 /* create temp file and directory */ 26 $fp = fopen("$file_path/lstat_stat_variation18.tmp", "w"); // temp file 41 // file name stored in an object
|
H A D | fwrite_basic-win32.phpt | 19 // include the file.inc for Function: function delete_file($filename) 20 include ("file.inc"); 24 test fwrite with file opened in mode : w,wb,wt,w+,w+b,w+t 41 echo "Error: failed to fopen() file: $filename!"; 47 /* Write the data in to the file, verify the write by checking file pointer position, 65 // close the file, get the size and content of the file. 67 clearstatcache();//clears file status cache 73 // delete the file created : fwrite_basic.tmp 81 -- Testing fwrite() with file having data of type numeric -- 167 -- Testing fwrite() with file having data of type text -- [all …]
|
H A D | fwrite_basic.phpt | 19 // include the file.inc for Function: function delete_file($filename) 20 include ("file.inc"); 24 test fwrite with file opened in mode : w,wb,wt,w+,w+b,w+t 41 echo "Error: failed to fopen() file: $filename!"; 47 /* Write the data in to the file, verify the write by checking file pointer position, 65 // close the file, get the size and content of the file. 67 clearstatcache();//clears file status cache 73 // delete the file created : fwrite_basic.tmp 81 -- Testing fwrite() with file having data of type numeric -- 167 -- Testing fwrite() with file having data of type text -- [all …]
|
H A D | bug65701.phpt | 22 foreach (scandir($file_path) as $file) { 23 if (strpos($file, "bug65701") !== false) { 24 unlink($file_path . $file);
|
H A D | glob_basic.phpt | 24 $fp = fopen("$dirname/file.text", "w"); 47 unlink("$file_path/glob_basic/file.text"); 54 string(%d) "%s/glob_basic/file.text" 70 string(%d) "%s/glob_basic/file.text" 78 string(%d) "%s/glob_basic/file.text"
|
H A D | lstat_stat_variation12.phpt | 13 Description: Gives information about a file or symbolic link 16 Description: Gives information about a file 22 require "$file_path/file.inc"; 25 /* create temp file, link */ 27 $fp = fopen($filename, "w"); // temp file
|
H A D | lstat_stat_variation3.phpt | 12 Description: Gives information about a file or symbolic link 15 Description: Gives information about a file 21 require "$file_path/file.inc"; 23 /* create temp file & link */ 24 $fp = fopen("$file_path/lstat_stat_variation3.tmp", "w"); // temp file
|
H A D | parse_ini_file_error.phpt | 6 * Description: Parse configuration file 24 echo "\n-- Testing parse_ini_file() function with a non-existent file --\n"; 40 Warning: parse_ini_file(%s): failed to open stream: No such file or directory in %s on line %d 43 -- Testing parse_ini_file() function with a non-existent file -- 45 Warning: parse_ini_file(%s): failed to open stream: No such file or directory in %s on line %d
|
H A D | readfile_variation3.phpt | 6 Description: Outputs a file 10 // include file.inc 11 require("file.inc"); 19 // temp file name used here 21 // create file
|
H A D | disk.phpt | 35 Warning: disk_free_space(): No such file or directory in %s on line %d 38 Warning: disk_total_space(): No such file or directory in %s on line %d 43 Warning: disk_free_space(): No such file or directory in %s on line %d 46 Warning: disk_total_space(): No such file or directory in %s on line %d
|
H A D | readfile_variation9.phpt | 8 * Description: Output a file or a URL 9 * Source code: ext/standard/file.c 24 // create the file 81 …b//..//../readfileVar8Sub/fileToRead.tmp): failed to open stream: No such file or directory in %s … 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…
|
/PHP-5.5/ext/spl/examples/ |
H A D | findfile.php | 32 foreach(new FindFile($argv[1], $argv[2]) as $file) echo $file->getPathname()."\n";
|
H A D | findregex.php | 31 foreach(new RegexFindFile($argv[1], $argv[2]) as $file) 33 echo $file->getPathname()."\n";
|
H A D | tree.php | 35 foreach(new DirectoryGraphIterator($argv[1]) as $file) 37 echo $file . "\n";
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | vfprintf_error4.phpt | 16 $file = 'vfprintf_test.txt'; 17 $fp = fopen( $file, "a+" ); 31 $file = 'vfprintf_test.txt'; 32 unlink( $file );
|
/PHP-5.5/ext/ftp/tests/ |
H A D | ftp_fget_basic.phpt | 2 FTP ftp_fget file for both binary and ASCII transfer modes 30 //test non-existent file request 33 //remove file 43 Warning: ftp_fget(): a warning: No such file or directory in %sftp_fget_basic.php on line %d
|
/PHP-5.5/ext/gd/tests/ |
H A D | imagegif_nullbyte_injection.phpt | 5 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } 32 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
|
H A D | jpeg2wbmp_error1.phpt | 22 $file = dirname(__FILE__) .'/simpletext.jpg'; 26 imagejpeg($im, $file); 31 jpeg2wbmp($file, $file2, 20, 120, 9); 32 jpeg2wbmp($file, $file2, 20, 120, -1);
|
H A D | png2wbmp_error1.phpt | 22 $file = dirname(__FILE__) .'/simpletext.png'; 26 imagepng($im, $file); 31 png2wbmp($file, $file2, 20, 120, 9); 32 png2wbmp($file, $file2, 20, 120, -1);
|
/PHP-5.5/ext/zlib/tests/ |
H A D | gzfile_variation7.phpt | 33 Warning: gzfile(string): failed to open stream: No such file or directory in %s on line %d 36 Warning: gzfile(string): failed to open stream: No such file or directory in %s on line %d 39 Warning: gzfile(sTrInG): failed to open stream: No such file or directory in %s on line %d 42 Warning: gzfile(hello world): failed to open stream: No such file or directory in %s on line %d
|
H A D | readgzfile_variation7.phpt | 32 Warning: readgzfile(string): failed to open stream: No such file or directory in %s on line %d 35 Warning: readgzfile(string): failed to open stream: No such file or directory in %s on line %d 38 Warning: readgzfile(sTrInG): failed to open stream: No such file or directory in %s on line %d 41 Warning: readgzfile(hello world): failed to open stream: No such file or directory in %s on line %d
|
/PHP-5.5/ext/standard/tests/image/ |
H A D | getimagesize_variation1.phpt | 87 Error: 2 - getimagesize(0): failed to open stream: No such file or directory, %s(%d) 91 Error: 2 - getimagesize(1): failed to open stream: No such file or directory, %s(%d) 95 Error: 2 - getimagesize(12345): failed to open stream: No such file or directory, %s(%d) 99 Error: 2 - getimagesize(-2345): failed to open stream: No such file or directory, %s(%d) 103 Error: 2 - getimagesize(10.5): failed to open stream: No such file or directory, %s(%d) 107 Error: 2 - getimagesize(-10.5): failed to open stream: No such file or directory, %s(%d) 111 Error: 2 - getimagesize(101234567000): failed to open stream: No such file or directory, %s(%d) 115 Error: 2 - getimagesize(0.000107654321): failed to open stream: No such file or directory, %s(%d) 119 Error: 2 - getimagesize(0.5): failed to open stream: No such file or directory, %s(%d) 151 Error: 2 - getimagesize(1): failed to open stream: No such file or directory, %s(%d) [all …]
|
/PHP-5.5/ext/phar/tests/ |
H A D | 008.phpt | 7 $file = "<?php 10 $file .= pack('V', 500) . 'notenough'; 11 file_put_contents(dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php', $file);
|
/PHP-5.5/Zend/tests/ |
H A D | closure_032.phpt | 21 [file] => %s 37 [file] => %s 49 [file] => %s
|