Home
last modified time | relevance | path

Searched refs:file (Results 451 – 475 of 1965) sorted by relevance

1...<<11121314151617181920>>...79

/PHP-5.4/ext/standard/tests/file/
H A Dmove_uploaded_file_basic.phpt36 echo "Original name of uploaded file\n";
40 echo "Non-uploaded source file\n";
45 echo "Valid move to existing file\n";
63 Original name of uploaded file
65 Non-uploaded source file
67 Valid move to existing file
H A Dsymlink_link_linkinfo_is_link_error2.phpt18 Description: Tells whether the given file is a symbolic link.
29 $fp = fopen($filename, "w"); // create temp file
63 var_dump( is_link($filename) ); // file given to is_link
80 Warning: link(): No such file or directory in %s on line %d
83 Warning: link(): No such file or directory in %s on line %d
86 Warning: link(): No such file or directory in %s on line %d
89 Warning: link(): No such file or directory in %s on line %d
92 Warning: link(): No such file or directory in %s on line %d
95 Warning: link(): No such file or directory in %s on line %d
98 Warning: link(): No such file or directory in %s on line %d
H A Dfgetcsv.phpt28 $file = dirname(__FILE__) . 'fgetcsv.csv';
29 @unlink($file);
31 $fp = fopen($file, "w");
35 var_dump(fgetcsv(fopen($file, "r"), 1024));
37 @unlink($file);
H A Dfile_put_contents_variation8-win32.phpt12 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]])
13 * Description: Write/Create a file with contents data and return the number of bytes written
14 * Source code: ext/standard/file.c
32 "/no/such/file/dir" => "/no/such/file/dir",
89 -- Filename: /no/such/file/dir --
91 Warning: file_put_contents(/no/such/file/dir): failed to open stream: %s in %s on line %d
92 Failed to write data to: /no/such/file/dir
H A Drename_variation13.phpt13 * Description: Rename a file
14 * Source code: ext/standard/file.c
37 "/no/such/file/dir",
67 Warning: rename(-1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d
72 Warning: rename(1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d
98 Warning: rename( ,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d
118 -- testing '/no/such/file/dir' --
120 Warning: rename(%s/renameVar13/afile.tmp,/no/such/file/dir): No such file or directory in %s on lin…
123 Warning: rename(/no/such/file/dir,%s/renameVar13/afile.tmp): No such file or directory in %s on lin…
H A Dfgets_variation5.phpt7 Description: Gets a line from file pointer
10 // include the file.inc for common test funcitons
11 include ("file.inc");
34 echo "Error: failed to open file $filename!";
38 /* read with length beyong file size */
47 //close file
50 // delete file
60 -- Testing fgets() with file opened using mode w+ --
87 -- Testing fgets() with file opened using mode w+b --
114 -- Testing fgets() with file opened using mode w+t --
[all …]
H A Dis_writable_variation1.phpt26 /* test is_writable() & is_writeable() with file having different filepath notation */
27 require dirname(__FILE__).'/file.inc';
33 // create a new temporary file
42 /* Testing a file trailing slash */
45 /* Testing file with double slashes */
62 is a writable file */
63 foreach($files_arr as $file) {
65 var_dump( is_writable($file) );
66 var_dump( is_writeable($file) );
H A Dfiletype_basic.phpt7 Description: Returns the type of the file. Possible values are fifo, char,
8 dir, block, link, file, and unknown.
20 file
H A Dfputcsv_002.phpt6 $file = dirname(__FILE__) .'/fgetcsv-test.csv';
10 $fp = fopen($file, 'w');
16 @unlink($file);
H A Dparse_ini_file_variation4.phpt8 * Description: Parse configuration file
112 Error: 2 - parse_ini_file(0): failed to open stream: No such file or directory, %s(%d)
116 Error: 2 - parse_ini_file(1): failed to open stream: No such file or directory, %s(%d)
120 Error: 2 - parse_ini_file(12345): failed to open stream: No such file or directory, %s(%d)
124 Error: 2 - parse_ini_file(-2345): failed to open stream: No such file or directory, %s(%d)
128 Error: 2 - parse_ini_file(10.5): failed to open stream: No such file or directory, %s(%d)
132 Error: 2 - parse_ini_file(-10.5): failed to open stream: No such file or directory, %s(%d)
136 Error: 2 - parse_ini_file(123456789000): failed to open stream: No such file or directory, %s(%d)
144 Error: 2 - parse_ini_file(0.5): failed to open stream: No such file or directory, %s(%d)
172 Error: 2 - parse_ini_file(1): failed to open stream: No such file or directory, %s(%d)
[all …]
H A Dis_uploaded_file_basic.phpt20 // uploaded file
23 // not an uploaded file
26 // not an uploaded file
29 // not an uploaded file
/PHP-5.4/ext/pcntl/tests/
H A Dpcntl_exec_3.phpt8 $file = tempnam(sys_get_temp_dir(),"php");
9 var_dump(pcntl_exec($file, array("foo","bar"), array("foo" => "bar")));
10 unlink($file);
/PHP-5.4/ext/standard/tests/dir/
H A Dscandir_variation6-win32.phpt55 Warning: scandir(%s/scandir_var*,%s/scandir_var*): No such file or directory in %s on line %d
57 Warning: scandir(%s/scandir_var*): failed to open dir: No such file or directory in %sscandir_varia…
62 Warning: scandir(%s/*,%s/*): No such file or directory in %s on line %d
64 Warning: scandir(%s/*): failed to open dir: No such file or directory in %sscandir_variation6-win32…
71 Warning: scandir(%s/scandir_variation6/sub_dir?,%s/scandir_variation6/sub_dir?): No such file or di…
73 Warning: scandir(%s/scandir_variation6/sub_dir?): failed to open dir: No such file or directory in …
78 Warning: scandir(%s/scandir_variation6/sub?dir1,%s/scandir_variation6/sub?dir1): No such file or di…
80 Warning: scandir(%s/scandir_variation6/sub?dir1): failed to open dir: No such file or directory in …
/PHP-5.4/ext/spl/tests/
H A DRecursiveDirectoryIterator_getSubPath_basic.phpt30 foreach(glob($dir . '/*') as $file) {
31 if(is_dir($file)) {
32 rrmdir($file);
34 unlink($file);
H A Dbug36287.phpt9 foreach($it as $file)
12 var_Dump($file->getFilename());
14 var_dump($file->getFilename());
/PHP-5.4/ext/dba/tests/
H A Ddba_db4_015.phpt17 echo "database file created\n";
22 echo "database file opened\n";
37 database file created
38 database file opened
H A Ddba_db4_013.phpt17 echo "database file created\n";
22 echo "database file opened\n";
37 database file created
38 database file opened
/PHP-5.4/ext/zip/tests/
H A Doo_namelocate.phpt12 $file = $dirname . '__tmp_oo_rename.zip';
14 @unlink($file);
17 if (!$zip->open($file, ZIPARCHIVE::CREATE)) {
30 if (!$zip->open($file)) {
/PHP-5.4/ext/curl/tests/
H A Dcurl_write_file.phpt7 …tes the value 'test' to a temporary file. Use curl to access this file and store the output in ano…
24 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file);
/PHP-5.4/ext/standard/tests/image/
H A Dgetimagesize.phpt13 while (($file = readdir($dir)) !== FALSE) {
14 if (preg_match('/^test.+pix\./',$file) && $file != "test13pix.swf") {
15 $files[] = $file;
20 foreach($files as $file) {
21 $result[$file] = getimagesize(dirname(__FILE__)."/$file");
/PHP-5.4/ext/phar/tests/tar/
H A Dlinks4.phpt2 Phar: tar with link to root directory file from root directory file
14 echo $p['file.txt']->getContent();
/PHP-5.4/ext/standard/tests/strings/
H A D007-win32.phpt9 $file = str_repeat("A", PHP_MAXPATHLEN - strlen(__DIR__ . DIRECTORY_SEPARATOR . __FILE__));
11 var_dump(php_strip_whitespace($file));
17 Warning: php_strip_whitespace(%s): failed to open stream: No such file or directory in %s on line %d
/PHP-5.4/ext/exif/tests/
H A Dexif_imagetype_variation1.phpt91 // closing the file
109 Warning: exif_imagetype(0): failed to open stream: No such file or directory in %s on line %d
113 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
117 Warning: exif_imagetype(12345): failed to open stream: No such file or directory in %s on line %d
121 Warning: exif_imagetype(-2345): failed to open stream: No such file or directory in %s on line %d
125 Warning: exif_imagetype(10.5): failed to open stream: No such file or directory in %s on line %d
129 Warning: exif_imagetype(-10.5): failed to open stream: No such file or directory in %s on line %d
141 Warning: exif_imagetype(0.5): failed to open stream: No such file or directory in %s on line %d
165 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
173 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
[all …]
/PHP-5.4/ext/zlib/tests/
H A Dgzfile_variation5.phpt28 Warning: gzfile(0): failed to open stream: No such file or directory in %s on line %d
31 Warning: gzfile(1): failed to open stream: No such file or directory in %s on line %d
34 Warning: gzfile(12345): failed to open stream: No such file or directory in %s on line %d
37 Warning: gzfile(-2345): failed to open stream: No such file or directory in %s on line %d
H A Dreadgzfile_variation5.phpt28 Warning: readgzfile(0): failed to open stream: No such file or directory in %s on line %d
31 Warning: readgzfile(1): failed to open stream: No such file or directory in %s on line %d
34 Warning: readgzfile(12345): failed to open stream: No such file or directory in %s on line %d
37 Warning: readgzfile(-2345): failed to open stream: No such file or directory in %s on line %d

Completed in 40 milliseconds

1...<<11121314151617181920>>...79