/PHP-5.6/ext/gd/tests/ |
H A D | bug72339.phpt | 14 $fh = fopen($fname, "w"); 15 fwrite($fh, "gd2\x00"); 16 fwrite($fh, pack("n", 2)); 17 fwrite($fh, pack("n", 1)); 18 fwrite($fh, pack("n", 1)); 19 fwrite($fh, pack("n", 0x40)); 20 fwrite($fh, pack("n", 2)); 21 fwrite($fh, pack("n", 0x5AA0)); // Chunks Wide 22 fwrite($fh, pack("n", 0x5B00)); // Chunks Vertically 23 fwrite($fh, str_repeat("\x41\x41\x41\x41", 0x1000000)); // overflow data [all …]
|
/PHP-5.6/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 $a = stream_get_contents($fh);
|
/PHP-5.6/scripts/dev/generate-phpt/src/ |
H A D | gtTestCaseWriter.php | 22 $fh = fopen($fileName, 'w'); 23 fwrite ($fh, $string); 24 fclose($fh);
|
/PHP-5.6/main/ |
H A D | php_ini.c | 390 zend_file_handle fh; in php_init_config() local 544 memset(&fh, 0, sizeof(fh)); in php_init_config() 558 if (fh.handle.fp) { in php_init_config() 566 if (!fh.handle.fp) { in php_init_config() 572 if (fh.handle.fp) { in php_init_config() 578 if (!fh.handle.fp) { in php_init_config() 580 if (fh.handle.fp) { in php_init_config() 592 if (fh.handle.fp) { in php_init_config() 593 fh.type = ZEND_HANDLE_FP; in php_init_config() 758 zend_file_handle fh; in php_parse_user_ini_file() local [all …]
|
/PHP-5.6/Zend/ |
H A D | zend_stream.c | 305 switch (fh->type) { 310 fclose(fh->handle.fp); 314 if (fh->handle.stream.closer && fh->handle.stream.handle) { 315 fh->handle.stream.closer(fh->handle.stream.handle TSRMLS_CC); 317 fh->handle.stream.handle = NULL; 325 if (fh->opened_path) { 326 efree(fh->opened_path); 327 fh->opened_path = NULL; 329 if (fh->free_filename && fh->filename) { 330 efree((char*)fh->filename); [all …]
|
H A D | zend_ini_scanner.l | 219 static int init_ini_scanner(int scanner_mode, zend_file_handle *fh TSRMLS_DC) in init_ini_scanner() 229 SCNG(yy_in) = fh; in init_ini_scanner() 231 if (fh != NULL) { in init_ini_scanner() 232 ini_filename = zend_strndup(fh->filename, strlen(fh->filename)); in init_ini_scanner() 273 int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode TSRMLS_DC) in zend_ini_open_file_for_scanning() argument 278 if (zend_stream_fixup(fh, &buf, &size TSRMLS_CC) == FAILURE) { in zend_ini_open_file_for_scanning() 282 if (init_ini_scanner(scanner_mode, fh TSRMLS_CC) == FAILURE) { in zend_ini_open_file_for_scanning() 283 zend_file_handle_dtor(fh TSRMLS_CC); in zend_ini_open_file_for_scanning()
|
H A D | zend_ini_scanner.h | 33 int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode TSRMLS_DC);
|
H A D | zend_stream.h | 77 ZEND_API void zend_file_handle_dtor(zend_file_handle *fh TSRMLS_DC);
|
H A D | zend_ini_parser.y | 209 ZEND_API int zend_parse_ini_file(zend_file_handle *fh, zend_bool unbuffered_errors, int scanner_mod… in zend_parse_ini_file() argument 218 if (zend_ini_open_file_for_scanning(fh, scanner_mode TSRMLS_CC) == FAILURE) { in zend_parse_ini_file() 224 zend_file_handle_dtor(fh TSRMLS_CC); in zend_parse_ini_file()
|
/PHP-5.6/ext/com_dotnet/tests/ |
H A D | bug66431_0.phpt | 14 $fh = $fso->OpenTextFile($fpath, 2, true); 15 $fh->Write($text); 16 $fh->Close();
|
/PHP-5.6/ext/standard/tests/file/ |
H A D | disk_total_space_basic.phpt | 22 $fh = fopen($file_path.$dir."/disk_total_space.tmp", "w"); 23 fwrite($fh, (binary)"Garbage Data Garbage Data Garbage Data Garbage Data Garbage Data Garbage Data … 25 fclose($fh);
|
H A D | disk_total_space_error.phpt | 26 $fh = fopen( $file_path."/disk_total_space.tmp", "w" ); 27 fwrite( $fh, (binary)" Garbage data for the temporary file" ); 29 fclose($fh);
|
H A D | bug53241.phpt | 12 $fh = fopen($fn, 'xb'); 14 var_dump(curl_setopt($ch, CURLOPT_FILE, $fh));
|
H A D | disk_total_space_error-win32.phpt | 26 $fh = fopen( $file_path."/disk_total_space.tmp", "w" ); 27 fwrite( $fh, " Garbage data for the temporary file" ); 29 fclose($fh);
|
H A D | disk_free_space_basic.phpt | 31 $fh = fopen($file_path.$dir."/disk_free_space.tmp", "a"); 33 fwrite($fh, (binary)$data); 34 fclose($fh);
|
H A D | disk_free_space_error.phpt | 29 $fh = fopen( $file_path."/disk_free_space.tmp", "w" ); 30 fwrite( $fh, (binary)" Garbage data for the temporary file" ); 33 fclose($fh);
|
H A D | disk_free_space_error-win32.phpt | 29 $fh = fopen( $file_path."/disk_free_space.tmp", "w" ); 30 fwrite( $fh, " Garbage data for the temporary file" ); 33 fclose($fh);
|
H A D | lstat_stat_variation7.phpt | 29 $fh = fopen($file_name,"w"); 32 fwrite($fh, str_repeat((binary)"Hello World", $old_stat['blksize']));
|
H A D | file_variation.phpt | 18 $fh = fopen($file_path."/file_variation.tmp", "w"); 19 fwrite($fh, (binary)$data); 23 fclose($fh);
|
/PHP-5.6/ext/standard/ |
H A D | browscap.c | 248 zend_file_handle fh = {0}; in browscap_read_file() local 268 fh.handle.fp = VCWD_FOPEN(filename, "r"); in browscap_read_file() 269 fh.opened_path = NULL; in browscap_read_file() 270 fh.free_filename = 0; in browscap_read_file() 271 if (!fh.handle.fp) { in browscap_read_file() 278 fh.filename = filename; in browscap_read_file() 279 Z_TYPE(fh) = ZEND_HANDLE_FP; in browscap_read_file() 281 zend_parse_ini_file(&fh, 1, ZEND_INI_SCANNER_RAW, in browscap_read_file()
|
/PHP-5.6/ext/gettext/tests/ |
H A D | gettext_bind_textdomain_codeset-retval.phpt | 21 Florian Holzhauer fh-pt@fholzhauer.de
|
H A D | gettext_bind_textdomain_codeset-wrongparams.phpt | 22 Florian Holzhauer fh-pt@fholzhauer.de
|
/PHP-5.6/sapi/isapi/stresstest/ |
H A D | stresstest.cpp | 392 HANDLE fh = FindFirstFile(FindPath, &fd); in GetTestFiles() local 393 if (fh != INVALID_HANDLE_VALUE) { in GetTestFiles() 408 } while (FindNextFile(fh, &fd) != 0); in GetTestFiles() 409 FindClose(fh); in GetTestFiles() 421 HANDLE fh = FindFirstFile(FindPath, &fd); in DeleteTempFiles() local 422 if (fh != INVALID_HANDLE_VALUE) { in DeleteTempFiles() 428 } while (FindNextFile(fh, &fd) != 0); in DeleteTempFiles() 429 FindClose(fh); in DeleteTempFiles()
|
/PHP-5.6/sapi/apache/ |
H A D | mod_php5.c | 603 zend_file_handle fh; in send_php() local 605 fh.filename = r->filename; in send_php() 606 fh.opened_path = NULL; in send_php() 607 fh.free_filename = 0; in send_php() 608 fh.type = ZEND_HANDLE_FILENAME; in send_php() 610 zend_execute_scripts(ZEND_INCLUDE TSRMLS_CC, NULL, 1, &fh); in send_php()
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | array_column_basic.phpt | 45 $fh = fopen(__FILE__, 'r', true); 77 'value' => $fh
|