Home
last modified time | relevance | path

Searched refs:file (Results 501 – 525 of 1991) sorted by relevance

1...<<21222324252627282930>>...80

/PHP-5.5/ext/standard/tests/file/
H A Dfseek_ftell_rewind_error3.phpt7 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 Dlstat_stat_variation18.phpt2 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 Dfwrite_basic-win32.phpt19 // 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 Dfwrite_basic.phpt19 // 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 Dbug65701.phpt22 foreach (scandir($file_path) as $file) {
23 if (strpos($file, "bug65701") !== false) {
24 unlink($file_path . $file);
H A Dglob_basic.phpt24 $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 Dlstat_stat_variation12.phpt13 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 Dlstat_stat_variation3.phpt12 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 Dparse_ini_file_error.phpt6 * 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 Dreadfile_variation3.phpt6 Description: Outputs a file
10 // include file.inc
11 require("file.inc");
19 // temp file name used here
21 // create file
H A Ddisk.phpt35 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 Dreadfile_variation9.phpt8 * 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 Dfindfile.php32 foreach(new FindFile($argv[1], $argv[2]) as $file) echo $file->getPathname()."\n";
H A Dfindregex.php31 foreach(new RegexFindFile($argv[1], $argv[2]) as $file)
33 echo $file->getPathname()."\n";
H A Dtree.php35 foreach(new DirectoryGraphIterator($argv[1]) as $file)
37 echo $file . "\n";
/PHP-5.5/ext/standard/tests/strings/
H A Dvfprintf_error4.phpt16 $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 Dftp_fget_basic.phpt2 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 Dimagegif_nullbyte_injection.phpt5 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
32 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
H A Djpeg2wbmp_error1.phpt22 $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 Dpng2wbmp_error1.phpt22 $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 Dgzfile_variation7.phpt33 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 Dreadgzfile_variation7.phpt32 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 Dgetimagesize_variation1.phpt87 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 D008.phpt7 $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 Dclosure_032.phpt21 [file] => %s
37 [file] => %s
49 [file] => %s

Completed in 26 milliseconds

1...<<21222324252627282930>>...80