Home
last modified time | relevance | path

Searched refs:file (Results 476 – 500 of 1991) sorted by relevance

1...<<11121314151617181920>>...80

/PHP-5.5/ext/dba/tests/
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
H A Ddba_db4_016.phpt2 DBA DB4 File Creation popen("c") with existing valid file
18 echo "database file created\n";
32 echo "database file created\n";
52 database file created
55 database file created
/PHP-5.5/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
/PHP-5.5/ext/standard/tests/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 Dfile_put_contents_variation6.phpt7 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]])
8 * Description: Write/Create a file with contents data and return the number of bytes written
9 * Source code: ext/standard/file.c
40 //correct php53 behaviour is to ignore the FILE_USE_INCLUDE_PATH unless the file already exists
41 // in the include path. In this case it doesn't so the file should be written in the current dir.
H A Dfilegroup_basic.phpt12 * Description: Returns the group ID of the file, or FALSE in case of an error.
17 echo "-- Testing with the file or directory created by owner --\n";
37 echo "\n-- Testing with the standard file or directory --\n";
57 -- Testing with the file or directory created by owner --
64 -- Testing with the standard file or directory --
H A Dfopen_variation7.phpt2 Test fopen() function : variation: use include path create a file (relative)
8 * Description: Open a file or a URL and return a file pointer
9 * Source code: ext/standard/file.c
35 fwrite($h, (binary)"This is the test file");
H A Dfopen_variation9.phpt2 Test fopen() function : variation: use include path and stream context create a file, relative path
8 * Description: Open a file or a URL and return a file pointer
9 * Source code: ext/standard/file.c
35 fwrite($h, (binary) "This is the test file");
H A Dlstat_stat_variation14.phpt12 Description: Gives information about a file or symbolic link
15 Description: Gives information about a file
21 require "$file_path/file.inc";
24 /* create temp file & link */
26 $fp = fopen($filename, "w"); // temp file
H A Dfscanf_variation26.phpt8 Description: Parses input from a file according to a format
17 // create a file
21 exit("Error:failed to open file $filename");
34 // writing to the file
39 // closing the file
42 // opening the file for reading
45 exit("Error:failed to open file $filename");
49 // reading the values from file using different char formats
51 // rewind the file so that for every foreach iteration the file pointer starts from bof
H A Dtouch_basic-win32.phpt14 * Description: Set modification time of file
23 echo "\n--- testing touch creates a file ---\n";
33 echo "\n --- testing touch doesn't alter file contents ---\n";
43 echo "\n\n --- testing touch alters the correct file metadata ---\n";
80 --- testing touch creates a file ---
83 --- testing touch doesn't alter file contents ---
86 --- testing touch alters the correct file metadata ---
H A Dtouch_basic.phpt15 * Description: Set modification time of file
24 echo "\n--- testing touch creates a file ---\n";
34 echo "\n --- testing touch doesn't alter file contents ---\n";
44 echo "\n\n --- testing touch alters the correct file metadata ---\n";
81 --- testing touch creates a file ---
84 --- testing touch doesn't alter file contents ---
87 --- testing touch alters the correct file metadata ---
H A Dfgetss_variation2.phpt7 Description: Gets line from file pointer and strip HTML tags
10 // include the common file related test functions
11 include ("file.inc");
39 create_file ($filename); //create an empty file
43 echo "Error: failed to open file $filename!\n";
47 // rewind the file pointer to beginning of the file
53 /* rewind the file and read the file line by line with allowable tags */
64 // close the file
66 // delete the file
75 -- Testing fgetss() with file opened using r mode --
[all …]
H A D005_variation.phpt16 Description: Returns the time the file was last accessed, or FALSE
20 Description: Returns the time the file was last modified, or FALSE
24 Description: Returns the time the file was last changed, or FALSE
34 Description: Prints access, modification and change times of a file
137 /* set to access(creation time of the file) time */
153 /* touch() after renaming the file */
196 -- Checking different times, just after creating the file --
201 -- Checking different times, after changing the file permission --
206 -- Checking different times, after writing into the file --
211 -- Checking different times, after reading from the file --
[all …]
H A Dfseek_ftell_rewind_error2.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 // ftell on a file handle which is already closed
43 echo "-- Testing ftell with closed/unset file handle --";
47 // ftell on a file handle which is unset
49 unset($file_handle); //unset file handle
89 -- Testing ftell with closed/unset file handle --
/PHP-5.5/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.5/ext/imap/tests/
H A Dimap_savebody_basic.phpt23 $file = dirname(__FILE__).'/tmpsavebody.txt';
26 $z = imap_savebody($stream_id, $file, 1);
28 echo "Size: ".filesize($file)."\n";
31 $fp = fopen($file, 'w');
35 echo "Size: ".filesize($file)."\n";
/PHP-5.5/ext/phar/tests/
H A Dzf_test.phpt12 $file = "zfapp";
13 $orig_file = dirname(__FILE__) . "/files/$file.tgz";
14 $tgz_file = dirname(__FILE__) . "/$file.tgz";
15 $phar_file = dirname(__FILE__) . "/$file.phar.tar.gz";
25 Phar::webPhar('$file.phar', 'html/index.php');
/PHP-5.5/win32/build/
H A Dmkdist.php411 while (FALSE !== ($file = readdir($directory_list))) {
412 $full_path = $directory . '/' . $file;
413 if($file != '.' && $file != '..' && $file != '.svn' && is_dir($full_path)) {
414 if ($file == 'tests' || $file == 'examples') {
440 foreach (new DirectoryIterator($path_to_phar . '/phar') as $file) {
441 if ($file->isDir() || $file == 'phar.php') {
445 echo 'adding ', $file, "\n";
446 $phar[(string) $file] = file_get_contents($path_to_phar. '/phar/' . $file);
450 $stub = file($path_to_phar . '/phar/phar.php');
/PHP-5.5/ext/gd/tests/
H A Dcreatefromgd2.phpt9 $file = dirname(__FILE__) . '/src.gd2';
11 $im2 = imagecreatefromgd2($file);
16 $im3 = imagecreatefromgd2part($file, 4,4, 2,2);
H A Dimagejpeg_nullbyte_injection.phpt5 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
32 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
H A Dimagepng_nullbyte_injection.phpt5 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
32 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
H A Dimagewbmp_nullbyte_injection.phpt5 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
32 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
H A Dimagewebp_nullbyte_injection.phpt5 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
32 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }

Completed in 35 milliseconds

1...<<11121314151617181920>>...80