Home
last modified time | relevance | path

Searched refs:filename (Results 176 – 200 of 1037) sorted by relevance

12345678910>>...42

/PHP-5.4/ext/standard/tests/general_functions/
H A Dbug49056.phpt11 $filename = dirname(__FILE__) . '/bug49056.tmp';
13 file_put_contents( $filename, $string);
15 var_dump(parse_ini_file($filename));
/PHP-5.4/sapi/apache/
H A Dphp_apache.c68 ZEND_ARG_INFO(0, filename)
349 char *filename; in PHP_FUNCTION() local
357 if (!(rr = sub_req_lookup_uri (filename, ((request_rec *) SG(server_context))))) { in PHP_FUNCTION()
461 char *filename; in PHP_FUNCTION() local
469 if (!(rr = sub_req_lookup_uri(filename, ((request_rec *) SG(server_context))))) { in PHP_FUNCTION()
470 php_error_docref(NULL TSRMLS_CC, E_WARNING, "URI lookup failed '%s'", filename); in PHP_FUNCTION()
495 if (rr->filename) { in PHP_FUNCTION()
496 add_property_string(return_value,"filename", rr->filename, 1); in PHP_FUNCTION()
539 char *filename;
547 if(!(rr = ap_sub_req_lookup_uri(filename, ((request_rec *) SG(server_context))))) {
[all …]
/PHP-5.4/sapi/cli/tests/
H A D010.phpt15 $filename = __DIR__."/010.test.php";
24 file_put_contents($filename, $code);
32 var_dump(`cat "$filename_txt" | "$php" -n -F "$filename"`);
/PHP-5.4/ext/standard/tests/file/
H A Dlstat_stat_variation12.phpt12 /* Prototype: array lstat ( string $filename );
15 Prototype: array stat ( string $filename );
26 $filename = "$file_path/lstat_stat_variation12.tmp";
27 $fp = fopen($filename, "w"); // temp file
31 symlink($filename, $linkname); // temp link
H A Dlstat_stat_variation15.phpt12 /* Prototype: array lstat ( string $filename );
15 Prototype: array stat ( string $filename );
25 $filename = "$file_path/lstat_stat_variation15.tmp";
26 $fp = fopen($filename, "w"); // temp file
31 symlink($filename, $linkname);
H A Dfile_put_contents_variation9.phpt20 $filename = dirname(__FILE__).'/filePutContentsVar9.tmp';
27 symlink($filename, $softlink);
36 file_put_contents($filename,"");
37 link($filename, $hardlink);
43 unlink($filename);
H A Dparse_ini_file_error.phpt5 /* Prototype : proto array parse_ini_file(string filename [, bool process_sections])
19 $filename = 'string_val';
22 var_dump( parse_ini_file($filename, $process_sections, $extra_arg) );
25 $filename = __FILE__ . 'invalidfilename';
26 var_dump( parse_ini_file($filename, $process_sections) );
H A Dfile_exists_error.phpt7 /* Prototype : proto bool file_exists(string filename)
8 * Description: Returns true if filename exists
21 $filename = 'string_val';
23 var_dump( file_exists($filename, $extra_arg) );
H A Dsymlink_link_linkinfo_is_link_variation3.phpt14 Prototype: bool is_link ( string $filename );
33 $filename = "$file_path/symlink_link_linkinfo_is_link_variation3.tmp";
36 $file = fopen($filename, "w");
40 var_dump( symlink($filename, $linkname) );
50 $data_from_link = file_get_contents($linkname); // data read from $filename
54 var_dump( filesize($filename) );
72 $data_from_file = file_get_contents($filename);
76 var_dump( filesize($filename) );
89 $file = fopen($filename, "w");
98 var_dump( filesize($filename) );
[all …]
H A Dchmod_variation2.phpt20 $filename = basename($filepath);
25 var_dump(chmod("./$test_dirname/../$filename", 0777));
26 var_dump(chmod("./$test_dirname/../$filename", 0755));
32 var_dump(chmod("./$test_dirname/bad_dir/../../$filename", 0755));
47 var_dump(chmod("../$filename", 0777));
48 var_dump(chmod("../$filename", 0755));
H A Dfscanf_variation41.phpt18 $filename = "$file_path/fscanf_variation41.tmp";
19 $file_handle = fopen($filename, "w");
21 exit("Error:failed to open file $filename");
47 $file_handle = fopen($filename, "r");
49 exit("Error:failed to open file $filename");
73 $filename = "$file_path/fscanf_variation41.tmp";
74 unlink($filename);
H A Dfscanf_variation47.phpt18 $filename = "$file_path/fscanf_variation47.tmp";
19 $file_handle = fopen($filename, "w");
21 exit("Error:failed to open file $filename");
47 $file_handle = fopen($filename, "r");
49 exit("Error:failed to open file $filename");
73 $filename = "$file_path/fscanf_variation47.tmp";
74 unlink($filename);
H A Dis_executable_variation2.phpt9 $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_executable ( string $filename );
22 Description: Tells whether the filename is executable
H A Dfscanf_variation10.phpt18 $filename = "$file_path/fscanf_variation10.tmp";
19 $file_handle = fopen($filename, "w");
21 exit("Error:failed to open file $filename");
52 $file_handle = fopen($filename, "r");
54 exit("Error:failed to open file $filename");
78 $filename = "$file_path/fscanf_variation10.tmp";
79 unlink($filename);
H A Dfscanf_variation29.phpt18 $filename = "$file_path/fscanf_variation29.tmp";
19 $file_handle = fopen($filename, "w");
21 exit("Error:failed to open file $filename");
52 $file_handle = fopen($filename, "r");
54 exit("Error:failed to open file $filename");
78 $filename = "$file_path/fscanf_variation29.tmp";
79 unlink($filename);
H A Dfscanf_variation35.phpt18 $filename = "$file_path/fscanf_variation35.tmp";
19 $file_handle = fopen($filename, "w");
21 exit("Error:failed to open file $filename");
47 $file_handle = fopen($filename, "r");
49 exit("Error:failed to open file $filename");
73 $filename = "$file_path/fscanf_variation35.tmp";
74 unlink($filename);
H A Dfscanf_variation4.phpt18 $filename = "$file_path/fscanf_variation4.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");
74 $filename = "$file_path/fscanf_variation4.tmp";
75 unlink($filename);
H A Dis_readable_variation1.phpt7 $filename = dirname(__FILE__)."/is_readable_root_check.tmp";
8 $fp = fopen($filename, 'w');
10 if(fileowner($filename) == 0) {
11 unlink ($filename);
14 unlink($filename);
19 /* Prototype: bool is_readable ( string $filename );
20 Description: Tells whether the filename is readable.
H A Dis_readable_variation2.phpt9 $filename = dirname(__FILE__)."/is_readable_root_check.tmp";
10 $fp = fopen($filename, 'w');
12 if(fileowner($filename) == 0) {
13 unlink ($filename);
16 unlink($filename);
20 /* Prototype: bool is_readable ( string $filename );
21 Description: Tells whether the filename is readable.
H A Dfscanf_variation53.phpt33 $filename = "$file_path/fscanf_variation52.tmp";
34 $file_handle = fopen($filename, "w");
36 exit("Error:failed to open file $filename");
48 $file_handle = fopen($filename, $mode);
50 exit("Error:failed to open file $filename");
68 unlink($filename);
76 $filename = "$file_path/fscanf_variation53.tmp";
77 if(file_exists($filename)) {
78 unlink($filename);
/PHP-5.4/tests/basic/
H A Dbug55500.phpt11 Content-Disposition: form-data; name="file[]"; filename="file1.txt"
16 Content-Disposition: form-data; name="file[[type]"; filename="file2.txt"
21 Content-Disposition: form-data; name="file[[name]"; filename="file3.txt"
26 Content-Disposition: form-data; name="file[name]["; filename="file4.txt"
/PHP-5.4/ext/standard/tests/strings/
H A Dmd5_file.phpt6 /* Prototype: string md5_file( string filename[, bool raw_output] )
19 $filename = "DataFile.txt";
21 if (is_writable($filename)) {
23 echo "Cannot write to file ($filename)";
35 /* No filename */
38 /* invalid filename */
41 /* Scalar value as filename */
44 /* NULL as filename */
/PHP-5.4/ext/standard/tests/image/
H A Dgetimagesize_variation_003.phpt27 //loop through each element of the array for filename
28 foreach($file_types_array as $key => $filename) {
29 echo "\n-- $key ($filename) --\n";
30 var_dump( getimagesize(dirname(__FILE__)."/$filename" ) );
31 var_dump( getimagesize(dirname(__FILE__)."/$filename", $info) );
/PHP-5.4/ext/zlib/tests/
H A Dgzeof_variation1.phpt12 $filename = dirname(__FILE__)."/gzeof_variation1.txt.gz";
13 $h = gzopen($filename, 'w');
22 unlink($filename);
/PHP-5.4/ext/dom/tests/
H A DDOMDocument_saveHTMLFile_invalid_filename.phpt2 DOMDocument::saveHTMLFile() should fail with invalid filename
12 $filename = null;
22 $bytes = $doc->saveHTMLFile($filename);

Completed in 47 milliseconds

12345678910>>...42