/PHP-5.5/ext/standard/tests/file/ |
H A D | lstat_stat_variation18.phpt | 11 /* 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 D | 005_basic.phpt | 6 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 D | mkdir_rmdir_variation2.phpt | 9 $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 D | fscanf_variation26.phpt | 18 $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 D | readfile_variation5.phpt | 7 /* 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 D | bug39863.phpt | 8 $filename = __FILE__ . chr(0). ".ridiculous"; 10 if (file_exists($filename)) {
|
H A D | is_file_variation2.phpt | 10 /* 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 D | is_file_basic.phpt | 5 /* 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 D | fgetcsv_variation21.phpt | 17 $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 D | symlink_link_linkinfo_is_link_variation1.phpt | 14 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 D | util.c | 54 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 D | get_meta_tags.phpt | 6 $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 D | 003.phpt | 8 $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 D | 061.phpt | 33 $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 D | stream_get_meta_data_file_variation5.phpt | 6 $filename = __FILE__ . '.tmp'; 8 $fp = fopen($filename, "w+"); 30 unlink($filename);
|
/PHP-5.5/ext/exif/tests/ |
H A D | exif_imagetype_variation1.phpt | 2 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 D | gzopen_variation4.phpt | 11 /* 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 D | enable_post_data_reading_02.phpt | 8 Content-Disposition: form-data; name="file1"; filename="file1.txt" 24 Content-Disposition: form-data; name="file1"; filename="file1.txt"
|
H A D | rfc1867_array_upload.phpt | 12 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 D | sqlite_driver.c | 763 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 D | dir_variation7.phpt | 9 $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 D | opendir_variation5.phpt | 9 $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 D | scandir_variation5.phpt | 9 $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 D | scandir_variation7.phpt | 9 $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 D | test005.phpt | 9 QUERY_STRING=$filename 15 QUERY_STRING=$filename
|