/PHP-7.0/ext/standard/tests/file/ |
H A D | fscanf_variation7.phpt | 18 $filename = "$file_path/fscanf_variation7.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 44 $file_handle = fopen($filename, "r"); 46 exit("Error:failed to open file $filename"); 66 $filename = "$file_path/fscanf_variation7.tmp"; 67 unlink($filename);
|
H A D | fscanf_variation13.phpt | 18 $filename = "$file_path/fscanf_variation13.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 44 $file_handle = fopen($filename, "r"); 46 exit("Error:failed to open file $filename"); 66 $filename = "$file_path/fscanf_variation13.tmp"; 67 unlink($filename);
|
H A D | fscanf_variation19.phpt | 18 $filename = "$file_path/fscanf_variation19.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 48 $file_handle = fopen($filename, "r"); 50 exit("Error:failed to open file $filename"); 70 $filename = "$file_path/fscanf_variation19.tmp"; 71 unlink($filename);
|
H A D | fscanf_variation22.phpt | 18 $filename = "$file_path/fscanf_variation22.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 51 $file_handle = fopen($filename, "r"); 53 exit("Error:failed to open file $filename"); 77 $filename = "$file_path/fscanf_variation22.tmp"; 78 unlink($filename);
|
H A D | fscanf_variation32.phpt | 18 $filename = "$file_path/fscanf_variation32.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 49 $file_handle = fopen($filename, "r"); 51 exit("Error:failed to open file $filename"); 71 $filename = "$file_path/fscanf_variation32.tmp"; 72 unlink($filename);
|
H A D | fscanf_variation44.phpt | 18 $filename = "$file_path/fscanf_variation44.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 44 $file_handle = fopen($filename, "r"); 46 exit("Error:failed to open file $filename"); 66 $filename = "$file_path/fscanf_variation44.tmp"; 67 unlink($filename);
|
H A D | fscanf_variation50.phpt | 18 $filename = "$file_path/fscanf_variation50.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 44 $file_handle = fopen($filename, "r"); 46 exit("Error:failed to open file $filename"); 66 $filename = "$file_path/fscanf_variation50.tmp"; 67 unlink($filename);
|
H A D | is_writable_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); 21 /* Prototype: bool is_writable ( string $filename ); 22 Description: Tells whether the filename is writable.
|
H A D | fgets_socket_variation2.phpt | 9 $filename = __FILE__ . ".tmp"; 10 $fd = fopen($filename, "w+"); 39 $data = file_get_contents($filename); 40 unlink($filename);
|
H A D | file_variation5.phpt | 18 $filename = basename($filepath); 24 var_dump(file("./$test_dirname/../$filename")); 27 var_dump(file("./$test_dirname/bad_dir/../../$filename")); 37 var_dump(file("../$filename"));
|
H A D | parse_ini_file_variation5.phpt | 7 /* Prototype : array parse_ini_file(string filename [, bool process_sections]) 16 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 19 echo "Error: $err_no - $err_msg, $filename($linenum)\n"; 25 $filename = __FILE__."ParseIniFileVar5.ini"; 27 @unlink($filename); 28 file_put_contents($filename, $contents); 107 var_dump( parse_ini_file($filename, $value) ); 110 unlink($filename);
|
H A D | is_dir_error.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 | is_writable_variation1.phpt | 8 $filename = dirname(__FILE__)."/is_writable_root_check.tmp"; 9 $fp = fopen($filename, 'w'); 11 if(fileowner($filename) == 0) { 12 unlink ($filename); 16 unlink($filename); 21 /* Prototype: bool is_writable ( string $filename ); 22 Description: Tells whether the filename is writable.
|
H A D | readlink_realpath_variation1.phpt | 2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in object(Bug … 20 $filename = "$name_prefix/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1… 25 $file_handle = fopen($filename, "w"); 40 var_dump( symlink($filename, $obj1->linkname) ); 43 var_dump( symlink($filename, $obj2->linkname) ); 53 var_dump( link($filename, $obj1->linkname) ); 56 var_dump( link($filename, $obj2->linkname) );
|
H A D | fscanf_variation25.phpt | 18 $filename = "$file_path/fscanf_variation25.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 48 $file_handle = fopen($filename, "r"); 50 exit("Error:failed to open file $filename"); 70 $filename = "$file_path/fscanf_variation25.tmp"; 71 unlink($filename);
|
H A D | file_get_contents_variation9.phpt | 12 /* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource conte… 19 $filename = dirname(__FILE__).'/fileGetContentsVar9.tmp'; 25 $h = fopen($filename,"w"); 33 link($filename, $hardlink); 34 symlink($filename, $softlink); 45 unlink($filename);
|
H A D | file_put_contents_variation2.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 file_put_contents($filename, $value); 107 readfile($filename); 109 unlink($filename);
|
/PHP-7.0/ext/gd/tests/ |
H A D | func.inc | 74 * @param string $filename 78 function test_image_equals_file($filename, $actual) 80 if (!file_exists($filename)) { 86 $expected = imagecreatefrompng($filename); 146 $filename = "{$pathinfo['dirname']}/{$pathinfo['filename']}.out.png"; 147 imagepng($image, $filename);
|
/PHP-7.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_load_data.phpt | 24 $filename = $row['value'] . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv"; 26 if (file_exists($filename) && !is_writable($filename)) 27 die("skip {$filename} not writable"); 76 $filename = $row['value'] . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv"; 78 $filename = MySQLPDOTest::getTempDir() . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv"; 81 $fp = fopen($filename, "w"); 90 …LE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n'", $db->quote($filename))); 105 unlink($filename);
|
/PHP-7.0/ext/zlib/tests/ |
H A D | gzopen_basic.phpt | 11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path]) 21 $filename = dirname(__FILE__)."/004.txt.gz"; 26 $h = gzopen($filename, $mode, $use_include_path); 31 $h = gzopen($filename, $mode);
|
H A D | gzwrite_error.phpt | 11 $filename = "gzwrite_error.txt.gz"; 12 $h = gzopen($filename, 'w'); 21 unlink($filename);
|
/PHP-7.0/ext/spl/examples/ |
H A D | findfile.inc | 23 /** @internal filename to find */ 26 /** Construct from path and filename 48 /** @return whether the current file matches the given filename 55 /** @return the filename to search for.
|
/PHP-7.0/tests/basic/ |
H A D | rfc1867_max_file_uploads_empty_files.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-7.0/ext/fileinfo/ |
H A D | magicdata.patch | 168 ->>>>0xc4 use 2xDOS-filename 170 +#>>>>0xc4 use 2xDOS-filename 182 ->>>>>0x176 use DOS-filename 184 ->>>>>0x182 use DOS-filename 185 +#>>>>>0x176 use DOS-filename 187 +#>>>>>0x182 use DOS-filename 193 ->>>>>0x18b use DOS-filename 195 ->>>>>0x197 use DOS-filename 196 +#>>>>>0x18b use DOS-filename 198 +#>>>>>0x197 use DOS-filename [all …]
|
/PHP-7.0/main/ |
H A D | rfc1867.c | 204 zend_string_release(filename); in free_filename() 838 if (filename) { 839 efree(filename); 846 efree(filename); 859 if (!filename && param) { 936 if (!param && !filename) { 985 event_file_start.filename = &filename; 989 efree(filename); 996 efree(filename); 1156 s = filename; [all …]
|