Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...88

/PHP-7.1/ext/gd/tests/
H A Djpeg2wbmp_error2.phpt17 $file = dirname(__FILE__) .'/simpletext.wbmp';
18 jpeg2wbmp('', $file, 20, 120, 8);
19 jpeg2wbmp(null, $file, 20, 120, 8);
20 jpeg2wbmp(false, $file, 20, 120, 8);
H A Dpng2wbmp_error2.phpt17 $file = dirname(__FILE__) .'/simpletext.wbmp';
18 png2wbmp('', $file, 20, 120, 8);
19 png2wbmp(null, $file, 20, 120, 8);
20 png2wbmp(false, $file, 20, 120, 8);
H A Dimagegd2_nullbyte_injection.phpt9 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
28 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
H A Dimagegd_nullbyte_injection.phpt9 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
28 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
/PHP-7.1/ext/xmlwriter/tests/
H A D010.phpt10 $file = dirname(__FILE__).'/010.tmp';
12 $xw = xmlwriter_open_uri($file);
25 var_dump(file_get_contents($file));
27 @unlink($file);
/PHP-7.1/ext/zip/tests/
H A Doo_getnameindex.phpt12 $file = $dirname . '__tmp_oo_rename.zip';
14 @unlink($file);
17 if (!$zip->open($file, ZIPARCHIVE::CREATE)) {
30 if (!$zip->open($file)) {
H A Doo_namelocate.phpt12 $file = $dirname . '__tmp_oo_rename.zip';
14 @unlink($file);
17 if (!$zip->open($file, ZIPARCHIVE::CREATE)) {
30 if (!$zip->open($file)) {
/PHP-7.1/ext/dom/tests/
H A DDOMDocument_schemaValidate_error5.phpt2 DomDocument::schemaValidate() - non-existent schema file
15 $result = $doc->schemaValidate(dirname(__FILE__)."/non-existent-file");
20 …aValidate(): I/O warning : failed to load external entity "%snon-existent-file" in %s.php on line …
22 …Validate(): Failed to locate the main schema resource at '%s/non-existent-file'. in %s.php on line…
/PHP-7.1/ext/standard/tests/file/
H A Dftruncate_error.phpt7 Description: truncates a file to a given length
16 echo "\n Initial file size = ".filesize($filename)."\n";
35 echo "-- Testing ftruncate() with invalid file pointer --\n";
50 // ftruncate() on a file handle which is already closed/unset
51 echo "-- Testing ftruncate() with closed/unset file handle --\n";
53 // ftruncate on close file handle
59 // ftruncate on a file handle which is unset
61 unset($fp); //unset file handle
76 Initial file size = 36
90 -- Testing ftruncate() with invalid file pointer --
[all …]
H A Dfpassthru_variation.phpt7 Description: Reads to EOF on the given file pointer from the current position
33 /* Negative offsets, the file pointer should be at the end of file
60 echo "\n--- Testing with binary mode file ---\n";
61 /* Opening the file in binary read mode */
111 --- Testing with binary mode file ---
H A Dfiletype_variation.phpt16 Description: Returns the type of the file. Possible values are fifo, char,
17 dir, block, link, file, and unknown.
59 /* Checking with block in file */
67 file
68 file
70 file
H A Dmove_uploaded_file_basic.phpt36 echo "Original name of uploaded file\n";
40 echo "Non-uploaded source file\n";
45 echo "Valid move to existing file\n";
63 Original name of uploaded file
65 Non-uploaded source file
67 Valid move to existing file
H A Dfgetcsv.phpt28 $file = dirname(__FILE__) . 'fgetcsv.csv';
29 @unlink($file);
31 $fp = fopen($file, "w");
35 var_dump(fgetcsv(fopen($file, "r"), 1024));
37 @unlink($file);
H A Dsymlink_link_linkinfo_is_link_error2.phpt18 Description: Tells whether the given file is a symbolic link.
29 $fp = fopen($filename, "w"); // create temp file
63 var_dump( is_link($filename) ); // file given to is_link
80 Warning: link(): No such file or directory in %s on line %d
83 Warning: link(): No such file or directory in %s on line %d
86 Warning: link(): No such file or directory in %s on line %d
89 Warning: link(): No such file or directory in %s on line %d
92 Warning: link(): No such file or directory in %s on line %d
95 Warning: link(): No such file or directory in %s on line %d
98 Warning: link(): No such file or directory in %s on line %d
/PHP-7.1/ext/pcntl/tests/
H A Dpcntl_exec_3.phpt8 $file = tempnam(sys_get_temp_dir(),"php");
9 var_dump(pcntl_exec($file, array("foo","bar"), array("foo" => "bar")));
10 unlink($file);
/PHP-7.1/ext/standard/tests/url/
H A Dparse_url_basic_003.phpt53 --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : string(11) "www.php.net"
77 --> zlib:/path/to/my/file/file.txt : NULL
84 --> file:///path/to/file : NULL
85 --> file://path/to/file : string(4) "path"
86 --> file:/path/to/file : NULL
103 --> file:///: : NULL
104 --> file:///a:/ : NULL
105 --> file:///ab:/ : NULL
106 --> file:///a:/ : NULL
107 --> file:///@:/ : NULL
[all …]
/PHP-7.1/ext/hash/tests/
H A Dhash_hmac_file_error.phpt9 * Description: Generate a keyed hash value using the HMAC method and the contents of a given file
16 $file = dirname(__FILE__) . "hash_file.txt";
22 var_dump(hash_hmac_file('crc32', $file));
26 hash_hmac_file('crc32', $file, $key, TRUE, $extra_arg);
29 hash_hmac_file('foo', $file, $key, TRUE);
32 hash_hmac_file('crc32', $file.chr(0).$file, $key, TRUE);
/PHP-7.1/ext/oci8/tests/
H A Ddefine2.phpt38 echo "file md5:" . md5($fi) . "\n";
48 echo "file md5:" . md5($fi) . "\n";
58 echo "file md5:" . md5($fi) . "\n";
68 echo "file md5:" . md5($fi) . "\n";
86 file md5:88b274d7a257ac6f70435b83abd4e26e
90 file md5:88b274d7a257ac6f70435b83abd4e26e
94 file md5:80bb3201e2a8bdcb8ab3e1a44a82bb8a
/PHP-7.1/ext/fileinfo/tests/
H A Dfinfo_open_001.phpt22 Warning: finfo_open(%s123): failed to open stream: No such file or directory in %s on line %d
24 Warning: finfo_open(%s123): failed to open stream: No such file or directory in %s on line %d
29 Warning: finfo_open(%s1): failed to open stream: No such file or directory in %s on line %d
31 Warning: finfo_open(%s1): failed to open stream: No such file or directory in %s on line %d
36 Warning: finfo_open(%sinexistent): failed to open stream: No such file or directory in %s on line %d
38 Warning: finfo_open(%sinexistent): failed to open stream: No such file or directory in %s on line %d
/PHP-7.1/ext/zlib/tests/
H A Dgzopen_variation1.phpt12 * Description: Open a .gz-file and return a .gz-file pointer
125 Error: 2 - gzopen(0): failed to open stream: No such file or directory, %s(%d)
129 Error: 2 - gzopen(1): failed to open stream: No such file or directory, %s(%d)
133 Error: 2 - gzopen(12345): failed to open stream: No such file or directory, %s(%d)
137 Error: 2 - gzopen(-2345): failed to open stream: No such file or directory, %s(%d)
141 Error: 2 - gzopen(10.5): failed to open stream: No such file or directory, %s(%d)
145 Error: 2 - gzopen(-10.5): failed to open stream: No such file or directory, %s(%d)
149 Error: 2 - gzopen(123456789000): failed to open stream: No such file or directory, %s(%d)
157 Error: 2 - gzopen(0.5): failed to open stream: No such file or directory, %s(%d)
185 Error: 2 - gzopen(1): failed to open stream: No such file or directory, %s(%d)
[all …]
/PHP-7.1/ext/standard/tests/dir/
H A Dscandir_basic-win32-mb.phpt22 // include file.inc for create_files function
23 include (dirname(__FILE__) . '/../file/file.inc');
28 create_files($directory, 3, "numeric", 0755, 1, "w", "私はガラスを食べられますfile");
38 delete_files($directory, 3, "私はガラスを食べられますfile");
/PHP-7.1/ext/standard/tests/file/windows_mb_path/
H A Dbug64699.phpt15 /* This file is in UTF-8. */
33 while (($file = readdir($dh)) !== false) {
34 $path = $dir . $file;
36 $type2= is_dir($path) ? 'dir' : 'file';
38 … echo "filetype()[".str_pad($type, 4)."] == is_dir()[".str_pad($type2, 4)."] -> $comp: {$file}\n";
H A Dtest_long_path_bug30730.phpt15 $file = $dir . DIRECTORY_SEPARATOR . "test_file";
19 // Create a file in that directory
21 $fp = fopen($file, 'wb+');
24 // Rename that directory in order that the file full path will be long enough to trigger the bug
/PHP-7.1/ext/spl/tests/
H A Dbug36287.phpt9 foreach($it as $file)
12 var_Dump($file->getFilename());
14 var_dump($file->getFilename());
/PHP-7.1/ext/curl/tests/
H A Dcurl_write_file.phpt7 …tes the value 'test' to a temporary file. Use curl to access this file and store the output in ano…
24 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file);

Completed in 33 milliseconds

1...<<11121314151617181920>>...88