/PHP-5.6/ext/zip/tests/ |
H A D | compression_methods.phpt | 23 foreach ($methods as $filename => $method) { 24 echo "$filename: "; 25 var_dump($zip->statName($filename)['comp_method'] === $method);
|
/PHP-5.6/ext/standard/tests/file/ |
H A D | is_dir_basic.phpt | 5 /* Prototype: bool is_dir ( 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 | rename_variation2.phpt | 21 $filename = $file_path."/rename_variation2.tmp"; 22 @unlink($filename); 23 var_dump(touch($filename)); 27 var_dump(symlink($filename, $linkname));
|
H A D | 006_variation2.phpt | 9 $filename = dirname(__FILE__)."/006_root_check.tmp"; 10 $fp = fopen($filename, 'w'); 12 if(fileowner($filename) == 0) { 13 unlink ($filename); 17 unlink($filename); 23 Prototype: int fileperms ( string $filename ); 26 Prototype: bool chmod ( string $filename, int $mode ); 28 filename to that given in mode
|
H A D | readlink_realpath_variation2.phpt | 2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #… 23 $filename = "$name_prefix/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2… 24 $fp = fopen($filename, "w"); 35 var_dump( symlink($filename, $link_arr[0]) ); 38 var_dump( symlink($filename, $link_arr[1]) ); 48 var_dump( link($filename, $link_arr[0]) ); 51 var_dump( link($filename, $link_arr[1]) );
|
H A D | symlink_link_linkinfo_is_link_variation9.phpt | 14 Prototype: bool is_link ( string $filename ); 31 $filename = "$dirname/symlink_link_linkinfo_is_link_variation9.tmp"; 38 $fp = fopen($filename, "w"); 43 var_dump( symlink($filename, $soft_link) ); 59 var_dump( link($filename, $hard_link) ); 96 $filename = "$dirname/symlink_link_linkinfo_is_link_variation9.tmp"; 97 unlink($filename);
|
H A D | fwrite_variation5.phpt | 16 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 19 echo "Error: $err_no - $err_msg, $filename($linenum)\n"; 26 $filename = __DIR__ . '/fwriteVar5.tmp'; 106 $fp = fopen($filename,'w'); 109 readfile($filename); 111 unlink($filename);
|
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 | 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 | 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);
|
/PHP-5.6/tests/basic/ |
H A D | rfc1867_max_file_uploads_empty_files_debug.phpt | 12 Content-Disposition: form-data; name="file2"; filename="" 17 Content-Disposition: form-data; name="file3"; filename="" 22 Content-Disposition: form-data; name="file4"; filename="file4.txt" 27 Content-Disposition: form-data; name="file1"; filename="file1.txt"
|
/PHP-5.6/scripts/dev/generate-phpt/src/codeSnippets/ |
H A D | object.txt | 1 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 4 echo "Error: $err_no - $err_msg, $filename($linenum)\n";
|
/PHP-5.6/main/ |
H A D | rfc1867.c | 197 VCWD_UNLINK(*filename); in unlink_filename() 833 if (filename) { 834 efree(filename); 841 efree(filename); 854 if (!filename && param) { 931 if (!param && !filename) { 980 event_file_start.filename = &filename; 984 efree(filename); 991 efree(filename); 1147 s = filename; [all …]
|
/PHP-5.6/ext/gd/libgd/ |
H A D | testac.c | 14 char *filename); 76 char *filename) in testDrawing() argument 110 out = fopen (filename, "wb"); in testDrawing()
|
/PHP-5.6/ext/zlib/tests/ |
H A D | gzfile_variation14.phpt | 11 $filename = $filename = dirname(__FILE__)."/004.txt.gz"; 27 var_dump(gzfile( $filename, $var ) );
|
H A D | readgzfile_variation14.phpt | 11 $filename = $filename = dirname(__FILE__)."/004.txt.gz"; 27 var_dump(readgzfile( $filename, $var ) );
|
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.6/Zend/tests/ |
H A D | bug38779_1.phpt | 33 $filename = dirname(__FILE__)."/bug38779.txt"; 34 $fp1 = fopen($filename, "w"); 38 include $filename;
|
/PHP-5.6/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.6/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.6/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.6/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.6/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);
|