Home
last modified time | relevance | path

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

1...<<21222324252627282930>>...79

/PHP-5.4/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.4/ext/standard/tests/file/
H A Dbug65701.phpt22 foreach (scandir($file_path) as $file) {
23 if (strpos($file, "bug65701") !== false) {
24 unlink($file_path . $file);
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 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 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…
H A Drename_variation8-win32.phpt10 Description: Renames a file or directory
13 echo "\n*** Testing rename() on non-existing file ***\n";
16 // try renaming a non existing file
51 *** Testing rename() on non-existing file ***
53 …istent_file.tmp,%s/rename_variation8_new.tmp): The system cannot find the file specified. (code: 2…
65 Warning: rename(%s/non_existent_dir,%s/rename_basic_dir2): The system cannot find the file specifie…
H A Drename_variation8.phpt10 Description: Renames a file or directory
13 echo "\n*** Testing rename() on non-existing file ***\n";
16 // try renaming a non existing file
52 *** Testing rename() on non-existing file ***
54 Warning: rename(%s/non_existent_file.tmp,%s/rename_variation8_new.tmp): No such file or directory i…
66 Warning: rename(%s/non_existent_dir,%s/rename_basic_dir2): No such file or directory in %s on line …
H A Dis_executable_variation2.phpt2 Test is_executable() function: usage variations - file/dir with diff. perms
25 /* test is_executable() with file/dir having different permissions */
27 require dirname(__FILE__).'/file.inc';
65 is an executable file */
66 foreach($files as $file) {
68 var_dump( is_executable($file) );
73 // change all file's permissions to 777 before deleting
H A Dis_readable_variation2.phpt2 Test is_readable() function: usage variations - file/dir with diff. perms
24 /* test is_executable() with file/dir having different permissions */
26 require dirname(__FILE__).'/file.inc';
64 is a readable file */
65 foreach($files as $file) {
67 var_dump( is_readable($file) );
72 // change all file's permissions to 777 before deleting
/PHP-5.4/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.4/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.4/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.4/ext/gd/tests/
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.4/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.4/ext/exif/
H A Dtest.txt19 //$file = '/t/temp/kodak-dc4800.tif';
20 //$file = '/t/temp/canon-ixus.jpg';
21 //$file = '/t/temp/test2.jpg';
22 if ( $file) {
23 $image = exif_thumbnail($file);
71 case 'file':
109 // function: search_file($file,$ext)
135 // function: search_file($file,$ext)
261 $type = $file['type'];
262 $file = $file['file'];
[all …]
/PHP-5.4/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.4/Zend/tests/
H A Dclosure_032.phpt21 [file] => %s
37 [file] => %s
49 [file] => %s

Completed in 36 milliseconds

1...<<21222324252627282930>>...79