Home
last modified time | relevance | path

Searched refs:filename (Results 251 – 275 of 1055) sorted by relevance

1...<<11121314151617181920>>...43

/PHP-5.5/ext/standard/tests/file/
H A Dlstat_stat_variation18.phpt11 /* Prototype: array lstat ( string $filename );
14 Prototype: array stat ( string $filename );
29 echo "*** Testing stat() with filename & directory name stored inside an object ***\n";
44 echo "\n-- Testing stat() on filename stored inside an object --\n";
62 *** Testing stat() with filename & directory name stored inside an object ***
64 -- Testing stat() on filename stored inside an object --
H A D005_basic.phpt6 Prototype: int fileatime ( string $filename );
10 Prototype: int filemtime ( string $filename );
14 Prototype: int filectime ( string $filename );
18 Prototype: bool touch ( string $filename [, int $time [, int $atime]] );
20 named in the filename parameter to the value given in time.
H A Dmkdir_rmdir_variation2.phpt9 $filename = dirname(__FILE__)."/is_readable_root_check.tmp";
10 $fp = fopen($filename, 'w');
12 if(fileowner($filename) == 0) {
13 unlink ($filename);
17 unlink($filename);
H A Dfscanf_variation26.phpt18 $filename = "$file_path/fscanf_variation26.tmp";
19 $file_handle = fopen($filename, "w");
21 exit("Error:failed to open file $filename");
43 $file_handle = fopen($filename, "r");
45 exit("Error:failed to open file $filename");
65 $filename = "$file_path/fscanf_variation26.tmp";
66 unlink($filename);
H A Dreadfile_variation5.phpt7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
16 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
19 echo "Error: $err_no - $err_msg, $filename($linenum)\n";
25 $filename = 'readFileVar5.tmp';
27 $h = fopen($filename,'wb');
113 $res = readfile($filename, $value);
122 unlink($filename);
H A Dbug39863.phpt8 $filename = __FILE__ . chr(0). ".ridiculous";
10 if (file_exists($filename)) {
H A Dis_file_variation2.phpt10 /* Prototype: bool is_file ( string $filename );
11 Description: Tells whether the filename is a regular file
12 Returns TRUE if the filename exists and is a regular file
H A Dis_file_basic.phpt5 /* Prototype: bool is_file ( string $filename );
6 Description: Tells whether the filename is a regular file
7 Returns TRUE if the filename exists and is a regular file
H A Dfgetcsv_variation21.phpt17 $filename = dirname(__FILE__) . '/fgetcsv_variation21.tmp';
18 @unlink($filename);
29 $file_handle = fopen($filename, "w");
31 $file_handle = fopen($filename, $file_modes[$mode_counter] );
34 echo "Error: failed to create file $filename!\n";
44 $file_handle = fopen($filename, $file_modes[$mode_counter]);
64 unlink($filename);
H A Dsymlink_link_linkinfo_is_link_variation1.phpt14 Prototype: bool is_link ( string $filename );
32 $filename = "$file_path/symlink_link_linkinfo_is_link_variation1/symlink_link_linkinfo_is_link_vari…
33 $fp = fopen($filename, "w");
48 var_dump( symlink($filename, $obj->linkname) );
61 var_dump( link($filename, $obj->linkname) );
78 var_dump( symlink($filename, $link_arr[0]) );
91 var_dump( link($filename, $link_arr[0]) );
/PHP-5.5/ext/phar/
H A Dutil.c54 p = strrchr(entry->filename, '/'); in phar_get_link_location()
205 efree(entry.filename); in phar_mount_entry()
209 filename = entry.tmp; in phar_mount_entry()
214 efree(entry.filename); in phar_mount_entry()
224 efree(entry.filename); in phar_mount_entry()
233 efree(entry.filename); in phar_mount_entry()
248 efree(entry.filename); in phar_mount_entry()
285 if (*filename == '.') { in phar_find_in_include_path()
606 efree(etemp.filename); in phar_get_or_create_entry_data()
612 efree(etemp.filename); in phar_get_or_create_entry_data()
[all …]
/PHP-5.5/ext/standard/tests/strings/
H A Dget_meta_tags.phpt6 $filename = dirname(__FILE__)."/get_meta_tags.html";
50 file_put_contents($filename, $html);
51 var_dump(get_meta_tags($filename));
54 @unlink($filename);
/PHP-5.5/ext/xmlreader/tests/
H A D003.phpt8 $filename = dirname(__FILE__) . '/_003.xml';
12 file_put_contents($filename, $xmlstring);
15 if (!$reader->open($filename)) {
74 unlink($filename);
/PHP-5.5/ext/mysqli/tests/
H A D061.phpt33 $filename = dirname(__FILE__) . "061.csv";
34 $fp = fopen($filename, "w");
43 …ILE '%s' INTO TABLE t_061 FIELDS TERMINATED BY ';'", mysqli_real_escape_string($link, $filename))))
47 …ILE '%s' INTO TABLE t_061 FIELDS TERMINATED BY ';'", mysqli_real_escape_string($link, $filename))))
59 unlink($filename);
/PHP-5.5/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_variation5.phpt6 $filename = __FILE__ . '.tmp';
8 $fp = fopen($filename, "w+");
30 unlink($filename);
/PHP-5.5/ext/exif/tests/
H A Dexif_imagetype_variation1.phpt2 Test exif_imagetype() function : usage variations - different types for filename argument
8 /* Prototype : int exif_imagetype ( string $filename )
13 echo "*** Testing exif_imagetype() : different types for filename argument ***\n";
81 // when $filename is supplied with different values
83 echo "\n--- Testing exif_imagetype() by supplying different values for 'filename' argument ---\n";
85 foreach($values as $filename) {
87 var_dump( exif_imagetype($filename) );
100 *** Testing exif_imagetype() : different types for filename argument ***
106 --- Testing exif_imagetype() by supplying different values for 'filename' argument ---
/PHP-5.5/ext/zlib/tests/
H A Dgzopen_variation4.phpt11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
41 global $scriptFile, $secondFile, $firstFile, $filename;
50 $h = gzopen($filename, $mode, true);
61 $h = gzopen($filename, $mode, true);
67 $h = gzopen($filename, "w");
72 $h = gzopen($filename, $mode, true);
81 $h = gzopen($filename, $mode, true);
92 $h = gzopen($filename, $mode, true);
98 unlink($filename);
/PHP-5.5/tests/basic/
H A Denable_post_data_reading_02.phpt8 Content-Disposition: form-data; name="file1"; filename="file1.txt"
24 Content-Disposition: form-data; name="file1"; filename="file1.txt"
H A Drfc1867_array_upload.phpt12 Content-Disposition: form-data; name="file[]"; filename="file1.txt"
17 Content-Disposition: form-data; name="file[2]"; filename="file2.txt"
22 Content-Disposition: form-data; name="file[]"; filename="file3.txt"
/PHP-5.5/ext/pdo_sqlite/
H A Dsqlite_driver.c763 if (*filename && memcmp(filename, ":memory:", sizeof(":memory:"))) { in make_filename_safe()
776 return estrdup(filename); in make_filename_safe()
782 char *filename; in authorizer() local
787 if (!filename) { in authorizer()
790 efree(filename); in authorizer()
797 if (!filename) { in authorizer()
800 efree(filename); in authorizer()
815 char *filename; in pdo_sqlite_handle_factory() local
825 if (!filename) { in pdo_sqlite_handle_factory()
832 i = sqlite3_open(filename, &H->db); in pdo_sqlite_handle_factory()
[all …]
/PHP-5.5/ext/standard/tests/dir/
H A Ddir_variation7.phpt9 $filename = dirname(__FILE__)."/dir_root_check.tmp";
10 $fp = fopen($filename, 'w');
12 if(fileowner($filename) == 0) {
13 unlink ($filename);
16 unlink($filename);
H A Dopendir_variation5.phpt9 $filename = dirname(__FILE__)."/dir_root_check.tmp";
10 $fp = fopen($filename, 'w');
12 if(fileowner($filename) == 0) {
13 unlink ($filename);
16 unlink($filename);
H A Dscandir_variation5.phpt9 $filename = dirname(__FILE__)."/dir_root_check.tmp";
10 $fp = fopen($filename, 'w');
12 if(fileowner($filename) == 0) {
13 unlink ($filename);
16 unlink($filename);
H A Dscandir_variation7.phpt9 $filename = dirname(__FILE__) . "/dir_root_check.tmp";
10 $fp = fopen($filename, 'w');
12 if(fileowner($filename) == 0) {
13 unlink ($filename);
16 unlink($filename);
/PHP-5.5/sapi/tests/
H A Dtest005.phpt9 QUERY_STRING=$filename
15 QUERY_STRING=$filename

Completed in 73 milliseconds

1...<<11121314151617181920>>...43