Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...41

/PHP-5.3/ext/zlib/tests/
H A Dreadgzfile_variation14.phpt11 $filename = $filename = dirname(__FILE__)."/004.txt.gz";
27 var_dump(readgzfile( $filename, $var ) );
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.3/Zend/tests/
H A Dbug38779_1.phpt33 $filename = dirname(__FILE__)."/bug38779.txt";
34 $fp1 = fopen($filename, "w");
38 include $filename;
/PHP-5.3/ext/standard/tests/file/
H A Dfwrite_variation5.phpt16 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 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 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 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 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 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]) );
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);
/PHP-5.3/ext/xmlreader/tests/
H A D003.phpt8 $filename = dirname(__FILE__) . '/_002.xml';
12 file_put_contents($filename, $xmlstring);
15 if (!$reader->open($filename)) {
74 unlink($filename);
/PHP-5.3/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.3/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.3/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.3/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.3/Zend/
H A Dzend_language_scanner.h37 char *filename; member
61 ZEND_API int zend_prepare_string_for_scanning(zval *str, char *filename TSRMLS_DC);
/PHP-5.3/tests/basic/
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.3/ext/pdo_sqlite/
H A Dsqlite_driver.c763 if (*filename && memcmp(filename, ":memory:", sizeof(":memory:"))) { in make_filename_safe()
781 return estrdup(filename); in make_filename_safe()
787 char *filename; in authorizer() local
792 if (!filename) { in authorizer()
795 efree(filename); in authorizer()
802 if (!filename) { in authorizer()
805 efree(filename); in authorizer()
820 char *filename; in pdo_sqlite_handle_factory() local
830 if (!filename) { in pdo_sqlite_handle_factory()
837 i = sqlite3_open(filename, &H->db); in pdo_sqlite_handle_factory()
[all …]
/PHP-5.3/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.3/main/streams/
H A Dplain_wrapper.c912 realpath = estrdup(filename); in _php_stream_fopen()
1335 if(!filename) { in _php_stream_fopen_with_path()
1339 filename_length = strlen(filename); in _php_stream_fopen_with_path()
1342 if (*filename == '.' && (IS_SLASH(filename[1]) || filename[1] == '.')) { in _php_stream_fopen_with_path()
1344 ptr = filename + 1; in _php_stream_fopen_with_path()
1360 return php_stream_fopen_rel(filename, mode, opened_path, options); in _php_stream_fopen_with_path()
1371 if (IS_ABSOLUTE_PATH(filename, filename_length)) { in _php_stream_fopen_with_path()
1377 if ((php_check_safe_mode_include_dir(filename TSRMLS_CC)) == 0) in _php_stream_fopen_with_path()
1384 return php_stream_fopen_rel(filename, mode, opened_path, options); in _php_stream_fopen_with_path()
1388 if (IS_SLASH(filename[0])) { in _php_stream_fopen_with_path()
[all …]

Completed in 35 milliseconds

1...<<11121314151617181920>>...41