/PHP-5.6/ext/standard/tests/file/ |
H A D | pathinfo_basic2.phpt | 65 [%u|b%"filename"]=> 80 [%u|b%"filename"]=> 95 [%u|b%"filename"]=> 110 [%u|b%"filename"]=> 125 [%u|b%"filename"]=> 140 [%u|b%"filename"]=> 155 [%u|b%"filename"]=> 168 [%u|b%"filename"]=> 183 [%u|b%"filename"]=> 198 [%u|b%"filename"]=> [all …]
|
H A D | stat_variation6-win32.phpt | 13 * Prototype: array stat ( string $filename ); 28 $filename = "$file_path/stat_variation6.tmp"; 29 $file_handle = fopen($filename, "w"); // temp file 35 $old_stat = stat($filename); 36 var_dump( chmod($filename, 0777) ); 40 $new_stat = stat($filename);
|
H A D | 006_error.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 | file_put_contents_variation9.phpt | 20 $filename = dirname(__FILE__).'/filePutContentsVar9.tmp'; 27 symlink($filename, $softlink); 36 file_put_contents($filename,""); 37 link($filename, $hardlink); 43 unlink($filename);
|
H A D | lstat_stat_variation12.phpt | 12 /* 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 D | lstat_stat_variation15.phpt | 12 /* 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 D | parse_ini_file_error.phpt | 5 /* 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 D | file_exists_error.phpt | 7 /* 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 D | symlink_link_linkinfo_is_link_variation3.phpt | 14 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 D | chmod_variation2.phpt | 20 $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 D | fscanf_variation29.phpt | 18 $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 D | fscanf_variation47.phpt | 18 $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 D | is_readable_variation1.phpt | 7 $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 D | is_readable_variation2.phpt | 9 $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 D | fscanf_variation10.phpt | 18 $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 D | fscanf_variation35.phpt | 18 $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 D | fscanf_variation4.phpt | 18 $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);
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | bug49056.phpt | 11 $filename = dirname(__FILE__) . '/bug49056.tmp'; 13 file_put_contents( $filename, $string); 15 var_dump(parse_ini_file($filename));
|
/PHP-5.6/ext/zlib/tests/ |
H A D | gzreadgzwriteplain.phpt | 9 $filename = tempnam("/tmp", "phpt"); 11 $fp = fopen($filename, "wb"); 17 $fp = gzopen($filename, "rb"); 47 unlink($filename);
|
/PHP-5.6/ext/opcache/ |
H A D | ZendAccelerator.c | 676 if (!filename) { in zend_get_stream_timestamp() 1104 file_handle.filename = realpath; in zend_accel_invalidate() 1492 if (!file_handle->filename || 1829 if (!filename) { 1833 if (*filename == '.' || 1902 filename_len = strlen(filename); 1904 handle->filename = (char*)filename; 1998 handle->filename = (char*)filename; 2014 int filename_len = strlen(filename); 2070 is_stream_path(filename)) && [all …]
|
/PHP-5.6/sapi/apache/ |
H A D | php_apache.c | 68 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.6/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_exec_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"); 74 $filename = $row['value'] . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv"; 76 $filename = MySQLPDOTest::getTempDir() . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv"; 79 $fp = fopen($filename, "w"); 84 …ILE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n'", $db->quote($filename)); 103 unlink($filename);
|
/PHP-5.6/sapi/cli/tests/ |
H A D | 010.phpt | 15 $filename = __DIR__."/010.test.php"; 24 file_put_contents($filename, $code); 32 var_dump(`cat "$filename_txt" | "$php" -n -F "$filename"`);
|
/PHP-5.6/tests/basic/ |
H A D | bug55500.phpt | 11 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"
|
H A D | enable_post_data_reading_02.phpt | 8 Content-Disposition: form-data; name="file1"; filename="file1.txt" 25 Content-Disposition: form-data; name="file1"; filename="file1.txt" 31 Content-Disposition: form-data; name="file1"; filename="file1.txt"
|