Home
last modified time | relevance | path

Searched refs:file_handle (Results 226 – 250 of 501) sorted by relevance

12345678910>>...21

/PHP-5.4/ext/standard/tests/file/
H A Dfseek_ftell_rewind_variation4-win32.phpt42 $file_handle = fopen($filename, $file_mode);
43 if (!$file_handle){
50 fwrite($file_handle,(binary)$data_to_be_written);
51 rewind($file_handle);
54 var_dump( fseek($file_handle,$count,SEEK_SET) );
55 var_dump( ftell($file_handle) ); // confirm the file pointer position
56 var_dump( feof($file_handle) ); //ensure that file pointer is not at end
60 fclose($file_handle);
H A Dfseek_ftell_rewind_variation4.phpt42 $file_handle = fopen($filename, $file_mode);
43 if (!$file_handle){
50 fwrite($file_handle,(binary)$data_to_be_written);
51 rewind($file_handle);
54 var_dump( fseek($file_handle,$count,SEEK_SET) );
55 var_dump( ftell($file_handle) ); // confirm the file pointer position
56 var_dump( feof($file_handle) ); //ensure that file pointer is not at end
60 fclose($file_handle);
H A Dfseek_ftell_rewind_variation6-win32.phpt42 $file_handle = fopen($filename, $file_mode);
43 if (!$file_handle){
50 fwrite($file_handle,(binary)$data_to_be_written);
51 rewind($file_handle);
54 var_dump( fseek($file_handle,$count,SEEK_CUR) );
55 var_dump( ftell($file_handle) ); // confirm the file pointer position
56 var_dump( feof($file_handle) ); //ensure that file pointer is not at end
60 fclose($file_handle);
H A Dfseek_ftell_rewind_variation6.phpt42 $file_handle = fopen($filename, $file_mode);
43 if (!$file_handle){
50 fwrite($file_handle,(binary)$data_to_be_written);
51 rewind($file_handle);
54 var_dump( fseek($file_handle,$count,SEEK_CUR) );
55 var_dump( ftell($file_handle) ); // confirm the file pointer position
56 var_dump( feof($file_handle) ); //ensure that file pointer is not at end
60 fclose($file_handle);
H A Dfseek_ftell_rewind_variation8-win32.phpt43 $file_handle = fopen($filename, $file_mode);
44 if (!$file_handle){
51 fwrite($file_handle,(binary)$data_to_be_written);
52 rewind($file_handle);
55 var_dump( fseek($file_handle,$count,SEEK_END) );
56 var_dump( ftell($file_handle) ); // confirm the file pointer position
57 var_dump( feof($file_handle) ); //ensure that file pointer is not at end
61 fclose($file_handle);
H A Dfseek_ftell_rewind_variation8.phpt43 $file_handle = fopen($filename, $file_mode);
44 if (!$file_handle){
51 fwrite($file_handle,(binary)$data_to_be_written);
52 rewind($file_handle);
55 var_dump( fseek($file_handle,$count,SEEK_END) );
56 var_dump( ftell($file_handle) ); // confirm the file pointer position
57 var_dump( feof($file_handle) ); //ensure that file pointer is not at end
61 fclose($file_handle);
H A Dfread_variation2.phpt21 $file_handle : File Handle
28 var_dump( ftell($file_handle) );
29 var_dump( feof($file_handle) );
33 $data_from_file = fread($file_handle, $read_size);
42 var_dump( ftell($file_handle) );
44 var_dump( feof($file_handle) );
70 $file_handle = fopen($filename, $file_mode);
71 if (!$file_handle) {
80 rewind($file_handle);
90 rewind($file_handle);
[all …]
H A Dfseek_ftell_rewind_variation2-win32.phpt43 $file_handle = fopen($filename, $file_mode);
44 if (!$file_handle){
51 fwrite($file_handle,(binary)$data_to_be_written);
52 rewind($file_handle);
56 var_dump( fseek($file_handle,$count) );
57 var_dump( ftell($file_handle) ); // confirm the file pointer position
58 var_dump( feof($file_handle) ); //ensure that file pointer is not at end
62 fclose($file_handle);
H A Dfseek_ftell_rewind_variation2.phpt43 $file_handle = fopen($filename, $file_mode);
44 if (!$file_handle){
51 fwrite($file_handle,(binary)$data_to_be_written);
52 rewind($file_handle);
56 var_dump( fseek($file_handle,$count) );
57 var_dump( ftell($file_handle) ); // confirm the file pointer position
58 var_dump( feof($file_handle) ); //ensure that file pointer is not at end
62 fclose($file_handle);
H A Dfile_error.phpt12 $file_handle = fopen($file_path."/file.tmp", "w");
22 fclose($file_handle);
/PHP-5.4/sapi/continuity/
H A Dcapi.c441 zend_file_handle file_handle; in capi_module_main() local
446 file_handle.type = ZEND_HANDLE_FILENAME; in capi_module_main()
447 file_handle.filename = SG(request_info).path_translated; in capi_module_main()
448 file_handle.free_filename = 0; in capi_module_main()
449 file_handle.opened_path = NULL; in capi_module_main()
451 php_execute_script(&file_handle TSRMLS_CC); in capi_module_main()
/PHP-5.4/ext/standard/tests/strings/
H A Dhtmlspecialchars_decode_variation1.phpt25 $file_handle=fopen(__FILE__, "r");
78 $file_handle
90 fclose($file_handle);
H A Dltrim_variation2.phpt25 $file_handle = fopen(__FILE__, "r");
62 /*20*/ $file_handle,
80 fclose($file_handle); //closing the file handle
H A Dnl2br_variation5.phpt22 $file_handle = fopen(__FILE__, "r");
65 $file_handle,
86 fclose( $file_handle );
H A Dsprintf_variation2.phpt31 $file_handle = fopen(__FILE__, 'r');
84 $file_handle
103 fclose($file_handle);
H A Dtrim_variation2.phpt25 $file_handle = fopen(__FILE__, "r");
62 /*20*/ $file_handle,
80 fclose($file_handle); //closing the file handle
H A Dvsprintf_variation1.phpt33 $file_handle = fopen(__FILE__, 'r');
83 $file_handle
97 fclose($file_handle);
H A Dprintf_variation2.phpt31 $file_handle = fopen(__FILE__, 'r');
84 /*28*/ $file_handle
107 fclose($file_handle);
H A Drtrim_variation2.phpt25 $file_handle = fopen(__FILE__, "r");
62 /*20*/ $file_handle,
80 fclose($file_handle); //closing the file handle
H A Dstristr_variation2.phpt24 $file_handle = fopen(__FILE__, "r");
59 /*18*/ $file_handle,
79 fclose($file_handle); //closing the file handle
H A Dstrtr_variation5.phpt29 $file_handle = fopen(__FILE__, "r");
63 /*17*/ $file_handle,
87 fclose($file_handle); //closing the file handle
H A Dstrtr_variation7.phpt29 $file_handle = fopen(__FILE__, "r");
69 /*17*/ $file_handle,
87 fclose($file_handle); //closing the file handle
H A Dvprintf_variation1.phpt33 $file_handle = fopen(__FILE__, 'r');
83 /*26*/ $file_handle
99 fclose($file_handle);
H A Dvprintf_variation2.phpt33 $file_handle = fopen(__FILE__, 'r');
80 /*23*/ $file_handle
94 fclose($file_handle);
/PHP-5.4/ext/standard/tests/array/
H A Din_array_variation4.phpt17 $file_handle = fopen(__FILE__, "r");
23 $resources = array($file_handle, $dir_handle);
26 var_dump( in_array($file_handle, $resources, true) );

Completed in 67 milliseconds

12345678910>>...21