/PHP-5.5/ext/standard/tests/dir/ |
H A D | readdir_variation4.phpt | 11 * Pass a directory handle pointing to a directory that contains 53 $handle = "fp{$iterator}"; 54 var_dump( $$handle = fopen(@"$dir_path$input.tmp", 'w') ); 55 var_dump( fwrite($$handle, $key)); 56 fclose($$handle);
|
H A D | dir_variation9.phpt | 13 * Description: Directory class with properties, handle and class and methods read, rewind and close 82 ["handle"]=> 88 ["handle"]=> 94 ["handle"]=> 100 ["handle"]=>
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fgetss_error.phpt | 6 Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] ); 45 // fgetss() on a file handle which is already closed 46 echo "-- Testing fgetss() with closed/unset file handle --"; 50 // fgetss() on a file handle which is unset 52 unset($file_handle); //unset file handle 100 -- Testing fgetss() with closed/unset file handle --
|
H A D | fgets_error.phpt | 6 Prototype: string fgets ( resource $handle [, int $length] ); 46 // fgets() on a file handle which is already closed 47 echo "-- Testing fgets() with closed/unset file handle --"; 51 // fgets() on a file handle which is unset 53 unset($file_handle); //unset file handle 101 -- Testing fgets() with closed/unset file handle --
|
H A D | 007_variation1.phpt | 13 Prototype: bool fclose ( resource $handle ); 31 var_dump($file_handle); //Check for the content of handle 36 var_dump( fclose($file_handle) ); //Check for close operation on the file handle
|
H A D | 007_variation17.phpt | 13 Prototype: bool fclose ( resource $handle ); 31 var_dump($file_handle); //Check for the content of handle 36 var_dump( fclose($file_handle) ); //Check for close operation on the file handle
|
H A D | 007_variation9.phpt | 13 Prototype: bool fclose ( resource $handle ); 31 var_dump($file_handle); //Check for the content of handle 36 var_dump( fclose($file_handle) ); //Check for close operation on the file handle
|
H A D | 007_error.phpt | 12 Prototype: bool fclose ( resource $handle ); 15 Prototype: bool feof ( resource $handle ) 30 var_dump( fclose($fp) ); // closed handle 31 var_dump( fclose(__FILE__) ); // invalid handle 35 var_dump( feof($fp) ); // closed handle 36 var_dump( feof(__FILE__) ); // invalid handle 43 var_dump( fclose($fp, "handle") ); 45 var_dump( feof($fp, "handle"));
|
/PHP-5.5/ext/interbase/ |
H A D | interbase.c | 593 if (p->trans->handle != NULL) { in _php_ibase_commit_link() 643 if (link->handle != NULL) { in _php_ibase_close_link() 658 if (link->handle != NULL) { in _php_ibase_close_plink() 673 if (trans->handle != NULL) { in _php_ibase_free_trans() 786 ibase_entry->handle = NULL; in PHP_MSHUTDOWN_FUNCTION() 1016 ib_link->handle = db_handle; in _php_ibase_connect() 1248 ib_trans->handle = tr_handle; in PHP_FUNCTION() 1292 tr->handle = NULL; in _php_ibase_def_trans() 1298 if (tr->handle == NULL) { in _php_ibase_def_trans() 1299 if (isc_start_transaction(IB_STATUS, &tr->handle, 1, &ib_link->handle, 0, NULL)) { in _php_ibase_def_trans() [all …]
|
H A D | ibase_blobs.c | 224 …if (isc_create_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob->bl_handle, &ib_blob->bl… in PHP_FUNCTION() 274 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob->bl_handle, in PHP_FUNCTION() 433 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob.bl_handle, in PHP_FUNCTION() 510 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob_id.bl_handle, in PHP_FUNCTION() 560 if (isc_create_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob.bl_handle, in PHP_FUNCTION()
|
/PHP-5.5/Zend/RFCs/ |
H A D | 001.txt | 14 approach Java takes is different where one refers to objects by handle 15 and not by value (one can think of a handle as an objects' ID). 25 run-time behavior. Changing the object model to a handle oriented 35 handle to the object instead of the object itself. When this handle is 36 sent to functions, assigned and copied it is only the handle which is 51 The previous code will assign $object the handle of a new instance of 95 implementation of the code. On line 21, the object's handle (ID) is 97 according to this handle and, therefore, the setMember() method is 101 An additional not-as-important benefit is that the object handle will
|
/PHP-5.5/ext/ftp/tests/ |
H A D | ftp_nb_fget_basic2.phpt | 20 $handle = fopen($local_file, 'a'); 22 var_dump(ftp_nb_fget($ftp, $handle, 'fgetresume.txt', FTP_ASCII, FTP_AUTORESUME));
|
H A D | ftp_nb_fget_basic3.phpt | 20 $handle = fopen($local_file, 'a'); 22 var_dump(ftp_nb_fget($ftp, $handle, 'fgetresume.txt', FTP_ASCII, 8));
|
H A D | ftp_fget_basic2.phpt | 20 $handle = fopen($local_file, 'a'); 22 var_dump(ftp_fget($ftp, $handle, 'fgetresume.txt', FTP_ASCII, FTP_AUTORESUME));
|
H A D | ftp_fget_basic3.phpt | 20 $handle = fopen($local_file, 'a'); 22 var_dump(ftp_fget($ftp, $handle, 'fgetresume.txt', FTP_ASCII, 8));
|
H A D | ftp_fget_basic1.phpt | 20 $handle = fopen($local_file, 'w'); 22 var_dump(ftp_fget($ftp, $handle, 'fget.txt', FTP_ASCII, FTP_AUTORESUME));
|
H A D | ftp_nb_fget_basic1.phpt | 20 $handle = fopen($local_file, 'w'); 22 var_dump(ftp_nb_fget($ftp, $handle, 'fget.txt', FTP_ASCII, FTP_AUTORESUME));
|
/PHP-5.5/sapi/cgi/ |
H A D | cgi_main.c | 2318 file_handle.handle.fp = NULL; 2322 file_handle.handle.fp = stdin; 2393 file_handle.handle.fp = fdopen(file_handle.handle.fd, "rb"); 2396 if (!file_handle.handle.fp || 2418 c = php_stream_getc((php_stream*)file_handle.handle.stream.handle); 2421 … c = php_stream_getc((php_stream*)file_handle.handle.stream.handle); /* skip to end of line */ 2425 if (php_stream_getc((php_stream*)file_handle.handle.stream.handle) != '\n') { 2426 long pos = php_stream_tell((php_stream*)file_handle.handle.stream.handle); 2427 php_stream_seek((php_stream*)file_handle.handle.stream.handle, pos - 1, SEEK_SET); 2432 php_stream_rewind((php_stream*)file_handle.handle.stream.handle); [all …]
|
/PHP-5.5/ext/curl/tests/ |
H A D | curl_multi_init_basic.phpt | 11 * Description : Returns a new cURL multi handle 19 //create the multiple cURL handle
|
H A D | curl_multi_init_param.phpt | 11 * Description : Returns a new cURL multi handle 18 //create the multiple cURL handle
|
H A D | curl_copy_handle_basic_001.phpt | 14 echo '*** Testing curl copy handle with simple GET ***' . "\n"; 33 *** Testing curl copy handle with simple GET ***
|
/PHP-5.5/Zend/ |
H A D | OBJECTS2_HOWTO | 12 handle for it, set handle and handler table as needed. Note that the 13 handle is the only ID of the object, so it should be enough to 22 new object and get the handle for it, set handle and handler table as 23 needed, and also provide constructor method that would handle 63 proxy object and handle it via get and set methods (see below). 115 zend_object_handle handle; 119 handle is an ID of the object among the objects of the same type (not 149 add_ref - called when a copy of the object handle is created. 151 del_ref - called when a copy of the object handle is destroyed.
|
/PHP-5.5/ext/pdo/ |
H A D | README | 21 When you create a database handle, you *should* specify the autocommit 41 Regardless of the error handling mode set on the database handle, if the 46 the handle will switch back to autocommit mode again. If the mode could not 49 When the database handle is closed or destroyed (or at request end for
|
/PHP-5.5/main/ |
H A D | main.c | 1341 handle->filename = (char*)filename; in php_stream_open_for_zend_ex() 1342 handle->free_filename = 0; in php_stream_open_for_zend_ex() 1343 handle->handle.stream.handle = stream; in php_stream_open_for_zend_ex() 1344 handle->handle.stream.reader = (zend_stream_reader_t)_php_stream_read; in php_stream_open_for_zend_ex() 1345 handle->handle.stream.fsizer = php_zend_stream_fsizer; in php_stream_open_for_zend_ex() 1346 handle->handle.stream.isatty = 0; in php_stream_open_for_zend_ex() 1348 memset(&handle->handle.stream.mmap, 0, sizeof(handle->handle.stream.mmap)); in php_stream_open_for_zend_ex() 1356 handle->handle.stream.closer = php_zend_stream_mmap_closer; in php_stream_open_for_zend_ex() 1357 handle->handle.stream.mmap.buf = p; in php_stream_open_for_zend_ex() 1358 handle->handle.stream.mmap.len = mapped_len; in php_stream_open_for_zend_ex() [all …]
|
/PHP-5.5/ext/intl/collator/ |
H A D | collator_class.c | 41 zend_object_handle handle TSRMLS_DC ) in Collator_objects_dtor() 43 zend_objects_destroy_object( object, handle TSRMLS_CC ); in Collator_objects_dtor() 72 retval.handle = zend_objects_store_put( in Collator_object_create()
|