Home
last modified time | relevance | path

Searched refs:filename (Results 151 – 175 of 1055) sorted by relevance

12345678910>>...43

/PHP-5.5/ext/standard/tests/file/
H A Dfgetcsv_variation23.phpt16 $filename = dirname(__FILE__) . '/fgetcsv_variation23.tmp';
17 $fp = fopen ($filename, "w");
19 $fp = fopen ($filename, "r");
21 echo "Error: failed to create file $filename!\n";
35 unlink($filename);
H A Dbug47767.phpt22 $filename = __DIR__ . '\\a.php';
24 file_put_contents($filename, $content);
26 symlink($filename, $softlinkname);
27 include_once("$filename");
41 unlink($filename);
H A Dsymlink_link_linkinfo_is_link_basic1.phpt14 Prototype: bool is_link ( string $filename );
30 /* Creating soft/hard link to $filename created in temp directory $dirname
36 $filename = "$file_path/$dirname/symlink_link_linkinfo_is_link_basic1.tmp";
37 $filename = fopen($filename, "w");
38 fclose($filename);
40 // name of the soft link created to $filename
43 // name of the hard link created to $filename
46 // filename stored in array with single and double slash notation in its path
H A Dreadfile_variation1.phpt5 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] );
21 $filename = "$file_path/readfile_variation1.tmp";
24 $fp = fopen($filename, "w");
27 $count = readfile($filename, true, $context);
H A Dftruncate_error.phpt12 $filename = dirname(__FILE__)."/ftruncate_error.tmp";
13 $file_handle = fopen($filename, "w" );
16 echo "\n Initial file size = ".filesize($filename)."\n";
26 var_dump( filesize($filename) );
32 var_dump( filesize($filename) );
57 var_dump( filesize($filename) );
60 $fp = fopen($filename, "w");
64 var_dump( filesize($filename) );
70 $filename = dirname(__FILE__)."/ftruncate_error.tmp";
71 unlink( $filename );
H A Dpathinfo_basic2.phpt65 [%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 Dstat_variation6-win32.phpt13 * 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 D006_error.phpt9 $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
/PHP-5.5/ext/fileinfo/libmagic/
H A Dapptype.c51 char *filename; in file_os2_apptype() local
55 filename = strdup(fn); in file_os2_apptype()
56 else if ((filename = tempnam("./", "tmp")) == NULL) { in file_os2_apptype()
61 _splitpath(filename, drive, dir, fname, ext); in file_os2_apptype()
84 free(filename); in file_os2_apptype()
/PHP-5.5/ext/zlib/tests/
H A Dgzopen_basic2.phpt11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
21 $filename = "gzopen_basic2.txt.gz";
27 $h = gzopen($filename, $mode);
31 $h = gzopen($filename, 'r');
35 unlink($filename);
H A Dgzopen_error.phpt11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
22 $filename = 'string_val';
26 var_dump( gzopen($filename, $mode, $use_include_path, $extra_arg) );
30 $filename = 'string_val';
31 var_dump( gzopen($filename) );
H A Dgzreadgzwriteplain.phpt9 $filename = tempnam("/tmp", "phpt");
11 $fp = fopen($filename, "wb");
17 $fp = gzopen($filename, "rb");
47 unlink($filename);
/PHP-5.5/tests/basic/
H A Dbug20539.phpt13 $filename = __DIR__ . '/sess_' . session_id();
14 var_dump(file_exists($filename));
15 @unlink($filename);
/PHP-5.5/ext/phar/
H A Dfunc_interceptors.c28 char *filename; in PHAR_FUNC() local
45 if (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://")) { in PHAR_FUNC()
96 char *filename; in PHAR_FUNC() local
136 entry = filename; in PHAR_FUNC()
232 char *filename; in PHAR_FUNC() local
267 entry = filename; in PHAR_FUNC()
363 entry = filename; in PHAR_FUNC()
813 char *filename; \
897 char *filename; in PharFileFunction() local
927 entry = filename; in PharFileFunction()
[all …]
/PHP-5.5/ext/sockets/tests/
H A Dsocket_set_option_error_socket_option.phpt11 $filename = dirname(__FILE__) . '/006_root_check.tmp';
12 $fp = fopen($filename, 'w');
14 if (fileowner($filename) == 0) {
15 unlink ($filename);
/PHP-5.5/ext/dom/tests/
H A DDOMDocument_saveHTMLFile_formatOutput.phpt12 $filename = dirname(__FILE__)."/tmp_savehtmlfile".time().".html";
23 $bytes = $doc->saveHTMLFile($filename);
25 echo file_get_contents($filename);
26 unlink($filename);
H A DDOMDocument_saveHTMLFile_basic.phpt12 $filename = dirname(__FILE__)."/tmp_savehtmlfile".time().".html";
22 $bytes = $doc->saveHTMLFile($filename);
24 echo file_get_contents($filename);
25 unlink($filename);
/PHP-5.5/ext/xmlreader/tests/
H A D004.phpt8 $filename = dirname(__FILE__) . '/_004.xml';
12 file_put_contents($filename, $xmlstring);
15 if (!$reader->open($filename)) {
33 unlink($filename);
/PHP-5.5/sapi/cli/tests/
H A D007.phpt15 $filename = dirname(__FILE__).'/007.test.php';
33 file_put_contents($filename, $code);
35 var_dump(`$php -n -w "$filename"`);
39 @unlink($filename);
/PHP-5.5/ext/fileinfo/tests/
H A Dfinfo_file_002.phpt11 foreach (glob(__DIR__ . "/resources/*") as $filename) {
12 if (is_file($filename)) {
13 $results["$filename"] = finfo_file($fp, $filename);
/PHP-5.5/sapi/apache2handler/
H A Dphp_functions.c59 static request_rec *php_apache_lookup_uri(char *filename TSRMLS_DC) in php_apache_lookup_uri()
63 if (!filename || !ctx || !ctx->r) { in php_apache_lookup_uri()
67 return ap_sub_req_lookup_uri(filename, ctx->r, ctx->r->output_filters); in php_apache_lookup_uri()
74 char *filename; in PHP_FUNCTION() local
78 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) { in PHP_FUNCTION()
82 if (!(rr = php_apache_lookup_uri(filename TSRMLS_CC))) { in PHP_FUNCTION()
121 char *filename; in PHP_FUNCTION() local
124 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) { in PHP_FUNCTION()
128 if (!(rr = php_apache_lookup_uri(filename TSRMLS_CC))) { in PHP_FUNCTION()
153 ADD_STRING(filename); in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/zip/tests/
H A Dbug8700.phpt11 $filename = $thisdir . "/bug8009.zip";
15 if ($zip->open($filename) === FALSE) {
16 exit("cannot open $filename\n");
/PHP-5.5/win32/build/
H A Dmkdist.php153 function extract_file_from_tarball($pkg, $filename, $dest_dir) /* {{{ */ argument
159 $filename = $name . '/' . $filename;
160 $destfilename = $dest_dir . "/" . basename($filename);
191 if ($filename == $hdr['filename']) {
321 foreach (glob($ICU_DLLS) as $filename) {
322 copy($filename, "$dist_dir/" . basename($filename));
332 $filename = $dll[1]; variable
340 if (!copy($php_build_dir . '/bin/' . $filename, "$dest/" . basename($filename))) {
341 echo "WARNING: couldn't copy $filename into the dist dir";
494 $filename = "$name-$version.tgz"; variable
[all …]
/PHP-5.5/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.5/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 …]

Completed in 66 milliseconds

12345678910>>...43