/PHP-5.5/ext/standard/tests/file/ |
H A D | popen_pclose_error-win32.phpt | 25 $file_handle = fopen($file_path."/popen.tmp", "w"); 26 var_dump( pclose($file_handle, $file_handle) ); 27 pclose($file_handle);
|
H A D | fflush_error.phpt | 21 $file_handle = fopen($filename, "w"); 22 if($file_handle == false) 25 var_dump( fflush($file_handle, $file_handle) ); 26 fclose($file_handle);
|
H A D | fscanf_variation5.phpt | 19 $file_handle = fopen($filename, "w"); 20 if($file_handle == false) 45 @fprintf($file_handle, $value); 46 @fprintf($file_handle, "\n"); 49 fclose($file_handle); 52 $file_handle = fopen($filename, "r"); 53 if($file_handle == false) { 61 rewind($file_handle); 63 while( !feof($file_handle) ) { 64 var_dump( fscanf($file_handle,$int_format) );
|
H A D | fscanf_variation11.phpt | 19 $file_handle = fopen($filename, "w"); 20 if($file_handle == false) 50 @fprintf($file_handle, $value); 51 @fprintf($file_handle, "\n"); 54 fclose($file_handle); 57 $file_handle = fopen($filename, "r"); 58 if($file_handle == false) { 66 rewind($file_handle); 68 while( !feof($file_handle) ) { 69 var_dump( fscanf($file_handle,$float_format) );
|
H A D | fscanf_variation30.phpt | 19 $file_handle = fopen($filename, "w"); 20 if($file_handle == false) 50 @fprintf($file_handle, $value); 51 @fprintf($file_handle, "\n"); 54 fclose($file_handle); 57 $file_handle = fopen($filename, "r"); 58 if($file_handle == false) { 66 rewind($file_handle); 68 while( !feof($file_handle) ) { 69 var_dump( fscanf($file_handle,$octal_format) );
|
H A D | fscanf_variation36.phpt | 19 $file_handle = fopen($filename, "w"); 20 if($file_handle == false) 45 @fprintf($file_handle, $value); 46 @fprintf($file_handle, "\n"); 49 fclose($file_handle); 52 $file_handle = fopen($filename, "r"); 53 if($file_handle == false) { 61 rewind($file_handle); 63 while( !feof($file_handle) ) { 64 var_dump( fscanf($file_handle,$hexa_format) );
|
H A D | fscanf_variation42.phpt | 19 $file_handle = fopen($filename, "w"); 20 if($file_handle == false) 45 @fprintf($file_handle, $value); 46 @fprintf($file_handle, "\n"); 49 fclose($file_handle); 52 $file_handle = fopen($filename, "r"); 53 if($file_handle == false) { 61 rewind($file_handle); 63 while( !feof($file_handle) ) { 64 var_dump( fscanf($file_handle,$unsigned_format) );
|
H A D | fscanf_variation48.phpt | 19 $file_handle = fopen($filename, "w"); 20 if($file_handle == false) 45 @fprintf($file_handle, $value); 46 @fprintf($file_handle, "\n"); 49 fclose($file_handle); 52 $file_handle = fopen($filename, "r"); 53 if($file_handle == false) { 61 rewind($file_handle); 63 while( !feof($file_handle) ) { 64 var_dump( fscanf($file_handle,$scientific_format) );
|
H A D | copy_variation10.phpt | 16 $file_handle = fopen($file, "w"); 17 fwrite($file_handle, str_repeat(b"Hello2world...\n", 100)); 18 fclose($file_handle);
|
H A D | ftruncate_error.phpt | 13 $file_handle = fopen($filename, "w" ); 14 fwrite($file_handle, (binary)"Testing ftruncate error conditions \n"); 15 fflush($file_handle); 24 var_dump( ftruncate( $file_handle ) ); 30 var_dump( ftruncate($file_handle, 10, 20) ); 54 fclose($file_handle); 55 var_dump( ftruncate($file_handle,10) );
|
H A D | fwrite_basic-win32.phpt | 39 $file_handle = fopen($filename, $file_modes[$inner_loop_counter]); 40 if (!$file_handle) { 50 var_dump( ftell($file_handle) ); // Expecting 0 52 var_dump( feof($file_handle) ); // expected : false 53 var_dump( ftell($file_handle) ); //expected: 100 57 var_dump( feof($file_handle) ); // expected : false 58 var_dump( ftell($file_handle) ); // expected: 1124 61 var_dump( fwrite($file_handle, $data_to_be_written)); //int(1024) 62 var_dump( ftell($file_handle) ); // expected: 2148 63 var_dump( feof($file_handle) ); // expected: false [all …]
|
H A D | fwrite_basic.phpt | 39 $file_handle = fopen($filename, $file_modes[$inner_loop_counter]); 40 if (!$file_handle) { 50 var_dump( ftell($file_handle) ); // Expecting 0 52 var_dump( feof($file_handle) ); // expected : false 53 var_dump( ftell($file_handle) ); //expected: 100 57 var_dump( feof($file_handle) ); // expected : false 58 var_dump( ftell($file_handle) ); // expected: 1124 61 var_dump( fwrite($file_handle, $data_to_be_written)); //int(1024) 62 var_dump( ftell($file_handle) ); // expected: 2148 63 var_dump( feof($file_handle) ); // expected: false [all …]
|
H A D | is_file_variation3.phpt | 13 $file_handle = fopen($file_path."/is_file_variation3.tmp", "w"); 24 $file_handle, 36 fclose($file_handle);
|
H A D | fileowner_basic.phpt | 20 $file_handle = fopen($file_name, "w"); 22 fwrite($file_handle, $string); 24 fclose($file_handle);
|
H A D | fwrite_variation3-win32.phpt | 45 $file_handle = fopen($filename, $file_mode); 46 if(!$file_handle) { 57 var_dump( ftell($file_handle) ); // expected: 1024 58 var_dump( fwrite($file_handle,$data_to_be_written,400) ); 59 var_dump( ftell($file_handle) ); // expected: 1024 + 400 60 var_dump( feof($file_handle) ); // expected : true 63 fseek($file_handle, SEEK_SET, (1024 + 400)/2 ); 65 var_dump( fwrite($file_handle, $data_to_be_written, 200) ); 66 var_dump( ftell($file_handle) ); 67 var_dump( feof($file_handle) ); //Expecting bool(false) [all …]
|
H A D | fwrite_variation3.phpt | 45 $file_handle = fopen($filename, $file_mode); 46 if(!$file_handle) { 58 var_dump( ftell($file_handle) ); // expected: 1024 59 var_dump( fwrite($file_handle,$data_to_be_written,400) ); 60 var_dump( ftell($file_handle) ); // expected: 1024 + 400 61 var_dump( feof($file_handle) ); // expected : true 64 fseek($file_handle, SEEK_SET, (1024 + 400)/2 ); 66 var_dump( fwrite($file_handle, $data_to_be_written, 200) ); 67 var_dump( ftell($file_handle) ); 68 var_dump( feof($file_handle) ); //Expecting bool(false) [all …]
|
H A D | fread_error.phpt | 15 $file_handle = fopen($filename, "r"); 23 var_dump( fread($file_handle, 10, $file_handle) ); 28 var_dump( fread($file_handle, $len) ); 30 var_dump( fread($file_handle, $len) ); 50 fclose($file_handle); 51 var_dump( fread($file_handle,$file_content_type) );
|
H A D | fwrite_error.phpt | 24 $file_handle = fopen ( $filename, "w"); 25 var_dump( fwrite($file_handle) ); 30 var_dump( fwrite($file_handle, $data, strlen($data), 10) ); 35 var_dump( fwrite($file_handle, $data, $len) ); 37 var_dump( fwrite($file_handle, $data, $len) ); 57 fclose($file_handle); 58 var_dump(fwrite($file_handle,"data"));
|
H A D | file_get_contents_error.phpt | 26 $file_handle = fopen($file_path."/file_put_contents_error.tmp", "w"); 27 print( file_get_contents($file_path."/file1.tmp", false, $file_handle, 1, 2, "extra_argument") ); 30 var_dump( file_get_contents($file_path."/file1.tmp", FALSE, $file_handle, 0, -5) ); 33 fclose($file_handle);
|
H A D | is_file_error.phpt | 15 $file_handle = fopen($file_path."/is_file_error.tmp", "w"); 22 var_dump( is_file($file_handle) ); 24 fclose($file_handle);
|
H A D | popen_pclose_error-win32-debug.phpt | 28 $file_handle = fopen($file_path."/popen.tmp", "w"); 29 var_dump( pclose($file_handle, $file_handle) ); 30 pclose($file_handle);
|
H A D | fscanf_variation21.phpt | 19 $file_handle = fopen($filename, "w"); 20 if($file_handle == false) 53 @fprintf($file_handle, $value); 54 @fprintf($file_handle, "\n"); 57 fclose($file_handle); 60 $file_handle = fopen($filename, "r"); 61 if($file_handle == false) { 69 rewind($file_handle); 71 while( !feof($file_handle) ) { 72 var_dump( fscanf($file_handle,$char_format) );
|
H A D | fscanf_variation23.phpt | 19 $file_handle = fopen($filename, "w"); 20 if($file_handle == false) 49 @fprintf($file_handle, $value); 50 @fprintf($file_handle, "\n"); 53 fclose($file_handle); 56 $file_handle = fopen($filename, "r"); 57 if($file_handle == false) { 65 rewind($file_handle); 67 while( !feof($file_handle) ) { 68 var_dump( fscanf($file_handle,$char_format) );
|
/PHP-5.5/sapi/pi3web/ |
H A D | pi3web_sapi.c | 347 zend_file_handle file_handle = {0}; in PHP5_wrapper() local 352 file_handle.filename = lpCB->lpszFileName; in PHP5_wrapper() 353 file_handle.free_filename = 0; in PHP5_wrapper() 354 file_handle.type = ZEND_HANDLE_FILENAME; in PHP5_wrapper() 355 file_handle.opened_path = NULL; in PHP5_wrapper() 362 iRet = ( php_execute_script( &file_handle TSRMLS_CC ) ) ? in PHP5_wrapper() 367 if ( open_file_for_scanning( &file_handle TSRMLS_CC ) == SUCCESS ) in PHP5_wrapper() 386 if ( open_file_for_scanning( &file_handle TSRMLS_CC ) == SUCCESS ) in PHP5_wrapper() 396 iRet = (php_lint_script(&file_handle TSRMLS_CC) == SUCCESS) ? in PHP5_wrapper()
|
/PHP-5.5/sapi/phttpd/ |
H A D | phttpd.c | 244 zend_file_handle file_handle; in php_doit() local 251 file_handle.type = ZEND_HANDLE_FILENAME; in php_doit() 252 file_handle.filename = SG(request_info).path_translated; in php_doit() 253 file_handle.free_filename = 0; in php_doit() 258 php_execute_script(&file_handle TSRMLS_CC); in php_doit()
|