Home
last modified time | relevance | path

Searched refs:filename (Results 201 – 225 of 886) sorted by relevance

12345678910>>...36

/PHP-8.0/ext/zlib/tests/
H A Dgzeof_variation1.phpt12 $filename = __DIR__."/gzeof_variation1.txt.gz";
13 $h = gzopen($filename, 'w');
26 unlink($filename);
/PHP-8.0/ext/gd/tests/
H A Dbug70102.phpt14 $filename = __DIR__ . '/bug70102.webp';
20 imagewebp($im, $filename);
23 $im = imagecreatefromwebp($filename);
/PHP-8.0/ext/standard/tests/file/
H A Dfile_error.phpt9 $filename = $file_path."/file.tmp";
10 var_dump( file($filename, 10, NULL) ); // Incorrect flag
12 var_dump( file("temp.tmp") ); // non existing filename
H A Dbug81223.phpt9 $filename = __FILE__;
10 $stream1 = fopen($filename, "r");
12 $stream2 = fopen($filename, "r");
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 Dsymlink_link_linkinfo_is_link_variation3.phpt21 $filename = "$file_path/symlink_link_linkinfo_is_link_variation3.tmp";
24 $file = fopen($filename, "w");
28 var_dump( symlink($filename, $linkname) );
38 $data_from_link = file_get_contents($linkname); // data read from $filename
42 var_dump( filesize($filename) );
60 $data_from_file = file_get_contents($filename);
64 var_dump( filesize($filename) );
77 $file = fopen($filename, "w");
86 var_dump( filesize($filename) );
100 unlink($filename);
H A Dbug39863.phpt8 $filename = __FILE__ . chr(0). ".ridiculous";
9 var_dump(file_exists($filename));
H A Dfscanf_variation13.phpt13 $filename = "$file_path/fscanf_variation13.tmp";
14 $file_handle = fopen($filename, "w");
16 exit("Error:failed to open file $filename");
39 $file_handle = fopen($filename, "r");
41 exit("Error:failed to open file $filename");
65 $filename = "$file_path/fscanf_variation13.tmp";
66 unlink($filename);
H A Dfscanf_variation16.phpt13 $filename = "$file_path/fscanf_variation16.tmp";
14 $file_handle = fopen($filename, "w");
16 exit("Error:failed to open file $filename");
46 $file_handle = fopen($filename, "r");
48 exit("Error:failed to open file $filename");
76 $filename = "$file_path/fscanf_variation16.tmp";
77 unlink($filename);
H A Dfscanf_variation19.phpt13 $filename = "$file_path/fscanf_variation19.tmp";
14 $file_handle = fopen($filename, "w");
16 exit("Error:failed to open file $filename");
43 $file_handle = fopen($filename, "r");
45 exit("Error:failed to open file $filename");
69 $filename = "$file_path/fscanf_variation19.tmp";
70 unlink($filename);
H A Dfscanf_variation22.phpt13 $filename = "$file_path/fscanf_variation22.tmp";
14 $file_handle = fopen($filename, "w");
16 exit("Error:failed to open file $filename");
46 $file_handle = fopen($filename, "r");
48 exit("Error:failed to open file $filename");
76 $filename = "$file_path/fscanf_variation22.tmp";
77 unlink($filename);
H A Dfscanf_variation25.phpt13 $filename = "$file_path/fscanf_variation25.tmp";
14 $file_handle = fopen($filename, "w");
16 exit("Error:failed to open file $filename");
43 $file_handle = fopen($filename, "r");
45 exit("Error:failed to open file $filename");
69 $filename = "$file_path/fscanf_variation25.tmp";
70 unlink($filename);
H A Dfscanf_variation32.phpt13 $filename = "$file_path/fscanf_variation32.tmp";
14 $file_handle = fopen($filename, "w");
16 exit("Error:failed to open file $filename");
44 $file_handle = fopen($filename, "r");
46 exit("Error:failed to open file $filename");
70 $filename = "$file_path/fscanf_variation32.tmp";
71 unlink($filename);
H A Dfscanf_variation38.phpt13 $filename = "$file_path/fscanf_variation38.tmp";
14 $file_handle = fopen($filename, "w");
16 exit("Error:failed to open file $filename");
39 $file_handle = fopen($filename, "r");
41 exit("Error:failed to open file $filename");
65 $filename = "$file_path/fscanf_variation38.tmp";
66 unlink($filename);
H A Dfscanf_variation44.phpt13 $filename = "$file_path/fscanf_variation44.tmp";
14 $file_handle = fopen($filename, "w");
16 exit("Error:failed to open file $filename");
39 $file_handle = fopen($filename, "r");
41 exit("Error:failed to open file $filename");
65 $filename = "$file_path/fscanf_variation44.tmp";
66 unlink($filename);
H A Dfscanf_variation50.phpt13 $filename = "$file_path/fscanf_variation50.tmp";
14 $file_handle = fopen($filename, "w");
16 exit("Error:failed to open file $filename");
39 $file_handle = fopen($filename, "r");
41 exit("Error:failed to open file $filename");
65 $filename = "$file_path/fscanf_variation50.tmp";
66 unlink($filename);
H A Dfscanf_variation7.phpt13 $filename = "$file_path/fscanf_variation7.tmp";
14 $file_handle = fopen($filename, "w");
16 exit("Error:failed to open file $filename");
39 $file_handle = fopen($filename, "r");
41 exit("Error:failed to open file $filename");
65 $filename = "$file_path/fscanf_variation7.tmp";
66 unlink($filename);
/PHP-8.0/ext/standard/tests/image/
H A Dgetimagesize_variation3.phpt21 //loop through each element of the array for filename
22 foreach($file_types_array as $key => $filename) {
23 echo "\n-- $key ($filename) --\n";
24 var_dump( getimagesize(__DIR__."/$filename" ) );
25 var_dump( getimagesize(__DIR__."/$filename", $info) );
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_loaddata.c26 int mysqlnd_local_infile_init(void ** ptr, const char * const filename) in mysqlnd_local_infile_init() argument
42 if (php_check_open_basedir_ex(filename, 0) == -1) { in mysqlnd_local_infile_init()
49 info->filename = filename; in mysqlnd_local_infile_init()
50 info->fd = php_stream_open_wrapper_ex((char *)filename, "r", 0, NULL, context); in mysqlnd_local_infile_init()
53 snprintf((char *)info->error_msg, sizeof(info->error_msg), "Can't find file '%-.64s'.", filename); in mysqlnd_local_infile_init()
140 mysqlnd_handle_local_infile(MYSQLND_CONN_DATA * conn, const char * const filename, zend_bool * is_w… in mysqlnd_handle_local_infile() argument
172 if (infile.local_infile_init(&info, (char *)filename)) { in mysqlnd_handle_local_infile()
/PHP-8.0/ext/zip/examples/
H A DextractAll.php4 echo $zip->filename . "\n";
14 echo $zip->filename . "\n";
H A Dextract.php8 echo $zip->filename . "\n";
18 echo $zip->filename . "\n";
/PHP-8.0/ext/gd/
H A Dphp_gd.h24 #define PHP_GD_CHECK_OPEN_BASEDIR(filename, errormsg) \ argument
25 if (!filename || php_check_open_basedir(filename)) { \
/PHP-8.0/ext/curl/tests/
H A Dcurl_copy_handle_variation3.phpt15 $filename = __DIR__ . '/АБВ.txt';
16 file_put_contents($filename, "Test.");
17 $file = curl_file_create($filename);
/PHP-8.0/ext/opcache/
H A DZendAccelerator.c157 for (p = filename; in is_stream_path()
869 if (!filename) { in zend_get_stream_timestamp()
1361 return filename && ZSTR_LEN(filename) >= sizeof(".phar") && in is_phar_file()
1853 …new_persistent_script->script.filename = zend_string_init(file_handle->filename, strlen(file_handl… in opcache_compile_file()
3346 if (function->op_array.filename != filename) {
3347 filename = function->op_array.filename;
3385 if (ce->info.user.filename != filename) {
3386 filename = ce->info.user.filename;
3420 script->script.filename = zend_string_copy(op_array->filename);
3850 || parent->info.user.filename == ce->info.user.filename)) {
[all …]
/PHP-8.0/ext/standard/tests/strings/
H A Dmd5_file.phpt15 $filename = "DataFileMD5.txt";
17 if (is_writable($filename)) {
19 echo "Cannot write to file ($filename)";
31 /* No filename */
37 /* invalid filename */
40 /* Scalar value as filename */
43 /* NULL as filename */

Completed in 45 milliseconds

12345678910>>...36