Home
last modified time | relevance | path

Searched refs:file_handle (Results 476 – 500 of 503) sorted by relevance

1...<<1112131415161718192021

/PHP-5.5/ext/date/tests/
H A Ddate_modify_variation2.phpt42 $file_handle = fopen(__FILE__, 'r');
95 'resource' => $file_handle
106 fclose( $file_handle );
H A DDateTime_construct_variation1.phpt42 $file_handle = fopen(__FILE__, 'r');
95 'resource' => $file_handle
119 fclose( $file_handle);
/PHP-5.5/ext/standard/tests/file/
H A Dcopy_variation2.phpt22 $file_handle = fopen($src_file_name, "w");
23 fwrite( $file_handle, str_repeat(b"Hello2World...\n", 100) );
24 fclose($file_handle);
H A Dis_writable_variation3.phpt39 @$file_handle
H A Dparse_ini_file.phpt200 $file_handle = fopen($file_path."/parse.ini", "w");
201 fwrite($file_handle, $parse_string);
202 fclose($file_handle);
H A Dlstat_stat_basic.phpt37 $file_handle = fopen($filename, "w");
38 fclose($file_handle);
H A Dfputcsv_variation4.phpt45 $file_handle = fopen($filename, "w");
47 $file_handle = fopen($filename, $file_modes[$mode_counter] );
49 if ( !$file_handle ) {
58 var_dump( fputcsv($file_handle, $csv_field, NULL, NULL) );
60 var_dump( ftell($file_handle) );
61 var_dump( feof($file_handle) );
63 fclose($file_handle);
H A Dfputcsv_variation2.phpt45 $file_handle = fopen($filename, "w");
47 $file_handle = fopen($filename, $file_modes[$mode_counter] );
49 if ( !$file_handle ) {
58 var_dump( fputcsv($file_handle, $csv_field, NULL, $enclosure) );
60 var_dump( ftell($file_handle) );
61 var_dump( feof($file_handle) );
63 fclose($file_handle);
H A Dfputcsv_variation3.phpt45 $file_handle = fopen($filename, "w");
47 $file_handle = fopen($filename, $file_modes[$mode_counter] );
49 if ( !$file_handle ) {
58 var_dump( fputcsv($file_handle, $csv_field, $delimiter, NULL) );
60 var_dump( ftell($file_handle) );
61 var_dump( feof($file_handle) );
63 fclose($file_handle);
H A Dfputcsv_variation13.phpt46 $file_handle = fopen($filename, "w");
48 $file_handle = fopen($filename, $file_modes[$mode_counter] );
50 if ( !$file_handle ) {
59 var_dump( fputcsv($file_handle, $csv_field, '++') );
61 var_dump( ftell($file_handle) );
62 var_dump( feof($file_handle) );
64 fclose($file_handle);
H A Dfputcsv_variation9.phpt46 $file_handle = fopen($filename, "w");
48 $file_handle = fopen($filename, $file_modes[$mode_counter] );
50 if ( !$file_handle ) {
59 var_dump( fputcsv($file_handle, $csv_field, '++', '%%'
62 var_dump( ftell($file_handle) );
63 var_dump( feof($file_handle) );
65 fclose($file_handle);
/PHP-5.5/ext/standard/tests/strings/
H A Dstrrpos_variation11.phpt26 $file_handle = fopen(__FILE__, "r");
69 $file_handle,
H A Dstripos_variation11.phpt26 $file_handle = fopen(__FILE__, "r");
69 $file_handle,
H A Dhebrevc_variation2.phpt25 $file_handle = fopen(__FILE__, "r");
69 /*25*/ $file_handle,
89 fclose($file_handle); //closing the file handle
/PHP-5.5/Zend/
H A Dzend_compile.h427 extern ZEND_API zend_op_array *(*zend_compile_file)(zend_file_handle *file_handle, int type TSRMLS_…
655 ZEND_API zend_op_array *compile_file(zend_file_handle *file_handle, int type TSRMLS_DC);
659 ZEND_API int open_file_for_scanning(zend_file_handle *file_handle TSRMLS_DC);
662 ZEND_API void zend_destroy_file_handle(zend_file_handle *file_handle TSRMLS_DC);
H A Dzend_vm_def.h3773 zend_file_handle file_handle; variable
3785 } else if (SUCCESS == zend_stream_open(resolved_path, &file_handle TSRMLS_CC)) {
3787 if (!file_handle.opened_path) {
3788 file_handle.opened_path = estrdup(resolved_path);
3791 …if (zend_hash_add_empty_element(&EG(included_files), file_handle.opened_path, strlen(file_handle.o…
3792 …new_op_array = zend_compile_file(&file_handle, (opline->extended_value==ZEND_INCLUDE_ONCE?ZEND_INC…
3793 zend_destroy_file_handle(&file_handle TSRMLS_CC);
3795 zend_file_handle_dtor(&file_handle TSRMLS_CC);
/PHP-5.5/ext/standard/tests/general_functions/
H A Dprint_r.phpt234 $file_handle = fopen(__FILE__, "r");
240 $file_handle,
254 unset($file_handle);
262 array( "array(1,2,3,4)1.0000002TRUE", @$file_handle, 111333.00+45e5, '/00\7')
H A Dprint_r_64bit.phpt235 $file_handle = fopen(__FILE__, "r");
241 $file_handle,
255 unset($file_handle);
263 array( "array(1,2,3,4)1.0000002TRUE", @$file_handle, 111333.00+45e5, '/00\7')
H A Dvar_dump.phpt229 $file_handle = fopen(__FILE__, "r");
235 $file_handle,
249 unset($file_handle);
257 array( "array(1,2,3,4)1.0000002TRUE", @$file_handle, 111333.00+45e5, '/00\7')
H A Dvar_dump_64bit.phpt229 $file_handle = fopen(__FILE__, "r");
235 $file_handle,
249 unset($file_handle);
257 array( "array(1,2,3,4)1.0000002TRUE", @$file_handle, 111333.00+45e5, '/00\7')
/PHP-5.5/main/
H A Dfopen_wrappers.c359 PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC)
450 if (zend_stream_open(filename, file_handle TSRMLS_CC) == FAILURE) {
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c1571 zend_file_handle file_handle; local
1932 if (php_fopen_primary_script(&file_handle TSRMLS_CC) == FAILURE) {
1953 php_execute_script(&file_handle TSRMLS_CC);
/PHP-5.5/ext/phar/
H A Dphar_object.c173 zend_file_handle file_handle; in phar_file_action() local
252 file_handle.type = ZEND_HANDLE_FILENAME; in phar_file_action()
253 file_handle.handle.fd = 0; in phar_file_action()
254 file_handle.filename = name; in phar_file_action()
255 file_handle.opened_path = NULL; in phar_file_action()
256 file_handle.free_filename = 0; in phar_file_action()
277 new_op_array = zend_compile_file(&file_handle, ZEND_REQUIRE TSRMLS_CC); in phar_file_action()
283 zend_destroy_file_handle(&file_handle TSRMLS_CC); in phar_file_action()
/PHP-5.5/ext/standard/
H A Dbasic_functions.c5254 zend_file_handle file_handle = {0}; local
5262 file_handle.type = ZEND_HANDLE_FILENAME;
5263 file_handle.filename = filename;
5264 file_handle.free_filename = 0;
5265 file_handle.opened_path = NULL;
5267 if (open_file_for_scanning(&file_handle TSRMLS_CC) == FAILURE) {
5275 zend_destroy_file_handle(&file_handle TSRMLS_CC);
H A Dfile.c1129 zval *file_handle; in PHP_FUNCTION() local
1134 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs*", &file_handle, &format, &format_len, &a… in PHP_FUNCTION()
1138 …what = zend_fetch_resource(&file_handle TSRMLS_CC, -1, "File-Handle", &type, 2, php_file_le_stream… in PHP_FUNCTION()

Completed in 91 milliseconds

1...<<1112131415161718192021