/PHP-8.3/ext/standard/tests/streams/ |
H A D | bug76859.phpt | 8 $fh = fopen('php://memory', 'r+b'); 9 fwrite($fh, $data); 10 rewind($fh); 11 stream_filter_append($fh, 'string.rot13', STREAM_FILTER_READ); 14 while (!feof($fh)) { 15 $out .= stream_get_line($fh, 1024); 18 fclose($fh);
|
/PHP-8.3/ext/gd/tests/ |
H A D | bug72339.phpt | 22 $fh = fopen($fname, "w"); 23 fwrite($fh, "gd2\x00"); 24 fwrite($fh, pack("n", 2)); 25 fwrite($fh, pack("n", 1)); 26 fwrite($fh, pack("n", 1)); 27 fwrite($fh, pack("n", 0x40)); 28 fwrite($fh, pack("n", 2)); 29 fwrite($fh, pack("n", 0x5AA0)); // Chunks Wide 30 fwrite($fh, pack("n", 0x5B00)); // Chunks Vertically 31 fwrite($fh, str_repeat("\x41\x41\x41\x41", 0x1000000)); // overflow data [all …]
|
/PHP-8.3/ext/iconv/tests/ |
H A D | bug76249.phpt | 7 $fh = fopen('php://memory', 'rw'); 8 fwrite($fh, "abc"); 9 rewind($fh); 10 if (false === @stream_filter_append($fh, 'convert.iconv.ucs-2/utf8//IGNORE', STREAM_FILTER_READ, []… 11 stream_filter_append($fh, 'convert.iconv.ucs-2/utf-8//IGNORE', STREAM_FILTER_READ, []); 13 var_dump(stream_get_contents($fh));
|
/PHP-8.3/win32/ |
H A D | ftok.c | 28 HANDLE fh; in ftok() local 43 …if ((fh = CreateFileW(pathw, FILE_GENERIC_READ, PHP_WIN32_IOUTIL_DEFAULT_SHARE_MODE, 0, OPEN_EXIST… in ftok() 48 if (!GetFileInformationByHandle(fh, &bhfi)) { in ftok() 50 CloseHandle(fh); in ftok() 56 CloseHandle(fh); in ftok()
|
/PHP-8.3/Zend/ |
H A D | zend_stream.c | 215 switch (fh->type) { in zend_file_handle_dtor() 217 if (fh->handle.fp) { in zend_file_handle_dtor() 219 fh->handle.fp = NULL; in zend_file_handle_dtor() 223 if (fh->handle.stream.closer && fh->handle.stream.handle) { in zend_file_handle_dtor() 224 fh->handle.stream.closer(fh->handle.stream.handle); in zend_file_handle_dtor() 234 if (fh->opened_path) { in zend_file_handle_dtor() 238 if (fh->buf) { in zend_file_handle_dtor() 239 efree(fh->buf); in zend_file_handle_dtor() 240 fh->buf = NULL; in zend_file_handle_dtor() 242 if (fh->filename) { in zend_file_handle_dtor() [all …]
|
H A D | zend_ini_scanner.l | 197 static zend_result init_ini_scanner(int scanner_mode, zend_file_handle *fh) in init_ini_scanner() argument 207 SCNG(yy_in) = fh; in init_ini_scanner() 209 if (fh != NULL) { in init_ini_scanner() 210 ini_filename = zend_string_copy(fh->filename); in init_ini_scanner() 247 zend_result zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode) in zend_ini_open_file_for_scanning() argument 252 if (zend_stream_fixup(fh, &buf, &size) == FAILURE) { in zend_ini_open_file_for_scanning() 256 if (init_ini_scanner(scanner_mode, fh) == FAILURE) { in zend_ini_open_file_for_scanning()
|
H A D | zend_ini_scanner.h | 31 zend_result zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode);
|
H A D | zend_ini_parser.y | 226 ZEND_API zend_result zend_parse_ini_file(zend_file_handle *fh, bool unbuffered_errors, int scanner_… in zend_parse_ini_file() argument 235 if (zend_ini_open_file_for_scanning(fh, scanner_mode) == FAILURE) { in zend_parse_ini_file()
|
/PHP-8.3/ext/oci8/tests/ |
H A D | bug70700.phpt | 52 $fh = fopen('php://temp', 'rw'); 58 rewind($fh); 60 fclose($fh); 83 $fh = fopen('php://temp', 'rw'); 89 rewind($fh); 91 fclose($fh); 114 $fh = fopen('php://temp', 'rw'); 120 rewind($fh); 122 fclose($fh); 151 rewind($fh); [all …]
|
/PHP-8.3/ext/com_dotnet/tests/ |
H A D | bug66431_0.phpt | 12 $fh = $fso->OpenTextFile($fpath, 2, true); 13 $fh->Write($text); 14 $fh->Close();
|
/PHP-8.3/ext/standard/tests/file/ |
H A D | disk_total_space_error.phpt | 17 $fh = fopen( $file_path."/disk_total_space.tmp", "w" ); 18 fwrite( $fh, " Garbage data for the temporary file" ); 20 fclose($fh);
|
H A D | disk_total_space_error-win32.phpt | 17 $fh = fopen( $file_path."/disk_total_space.tmp", "w" ); 18 fwrite( $fh, " Garbage data for the temporary file" ); 20 fclose($fh);
|
H A D | disk_total_space_basic.phpt | 17 $fh = fopen($file_path.$dir."/disk_total_space.tmp", "w"); 18 fwrite($fh, "Garbage Data Garbage Data Garbage Data Garbage Data Garbage Data Garbage Data Garbage … 20 fclose($fh);
|
H A D | disk_free_space_error.phpt | 16 $fh = fopen( $file_path."/disk_free_space.tmp", "w" ); 17 fwrite( $fh, " Garbage data for the temporary file" ); 20 fclose($fh);
|
H A D | lstat_stat_variation7.phpt | 16 $fh = fopen($file_name,"w"); 20 fwrite($fh, str_repeat("Hello World", $blksize)); 21 fclose($fh);
|
H A D | disk_free_space_error-win32.phpt | 16 $fh = fopen( $file_path."/disk_free_space.tmp", "w" ); 17 fwrite( $fh, " Garbage data for the temporary file" ); 20 fclose($fh);
|
H A D | bug53241.phpt | 13 $fh = fopen($fn, 'xb'); 15 var_dump(curl_setopt($ch, CURLOPT_FILE, $fh));
|
H A D | disk_free_space_basic.phpt | 25 $fh = fopen($file_path.$dir."/disk_free_space.tmp", "a"); 27 fwrite($fh, $data); 28 fclose($fh);
|
H A D | file_variation.phpt | 13 $fh = fopen($file_path."/file_variation.tmp", "w"); 14 fwrite($fh, $data); 18 fclose($fh);
|
/PHP-8.3/main/ |
H A D | php_ini.c | 600 zend_file_handle fh; in php_init_config() local 601 zend_stream_init_fp(&fh, fp, filename); in php_init_config() 604 …zend_parse_ini_file(&fh, 1, ZEND_INI_SCANNER_NORMAL, (zend_ini_parser_cb_t) php_ini_parser_cb, &co… in php_init_config() 616 zend_destroy_file_handle(&fh); in php_init_config() 678 zend_file_handle fh; in php_init_config() local 681 zend_stream_init_fp(&fh, file, ini_file); in php_init_config() 689 zend_destroy_file_handle(&fh); in php_init_config() 768 zend_file_handle fh; in php_parse_user_ini_file() local 771 zend_stream_init_fp(&fh, VCWD_FOPEN(ini_file, "r"), ini_file); in php_parse_user_ini_file() 772 if (fh.handle.fp) { in php_parse_user_ini_file() [all …]
|
/PHP-8.3/ext/gettext/tests/ |
H A D | gettext_bind_textdomain_codeset-retval.phpt | 17 Florian Holzhauer fh-pt@fholzhauer.de
|
/PHP-8.3/ext/standard/tests/file/windows_links/ |
H A D | readlink_compat.phpt | 54 $fh = fopen($filename, 'w'); 55 fclose($fh);
|
/PHP-8.3/ext/standard/tests/array/ |
H A D | array_column_basic.phpt | 39 $fh = fopen(__FILE__, 'r', true); 71 'value' => $fh
|
/PHP-8.3/ext/standard/ |
H A D | browscap.c | 402 zend_file_handle fh; in browscap_read_file() local 415 zend_stream_init_fp(&fh, fp, filename); in browscap_read_file() 433 zend_parse_ini_file(&fh, persistent, ZEND_INI_SCANNER_RAW, in browscap_read_file() 441 zend_destroy_file_handle(&fh); in browscap_read_file()
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | strspn_variation6.phpt | 61 "fh\ne\trlsti \l",
|