/PHP-5.5/ext/curl/tests/ |
H A D | server.inc | 25 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel… 31 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root); 46 function($handle) use($router) { 47 proc_terminate($handle); 49 $handle
|
H A D | curl_copy_handle_variation1.phpt | 2 Test curl_copy_handle() change options in one handle 20 // copy the handle 23 // change the CURLOPT_URL for the second handle
|
H A D | curl_file_deleted_before_curl_close.phpt | 19 $handle = fopen($temp_file, 'w'); 21 curl_setopt($ch, CURLOPT_STDERR, $handle); 27 fclose($handle); // causes glibc memory error
|
H A D | bug52827.phpt | 17 * cast to a FILE* handle in curl_setopt already 27 $handle=curl_init('http://www.example.com'); 28 curl_setopt($handle, CURLOPT_STDERR, $s);
|
H A D | curl_copy_handle_basic_006.phpt | 14 echo '*** Testing curl copy handle with User Agent ***' . "\n"; 29 …curl_close($ch); // can not close original handle before curl_exec($copy) since it causes char * i… 35 *** Testing curl copy handle with User Agent ***
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_error2.phpt | 6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); 9 Prototype: bool rewind ( resource $handle ); 12 Prototype: int ftell ( resource $handle ); 42 // ftell on a file handle which is already closed 43 echo "-- Testing ftell with closed/unset file handle --"; 47 // ftell on a file handle which is unset 49 unset($file_handle); //unset file handle 89 -- Testing ftell with closed/unset file handle --
|
H A D | fseek_ftell_rewind_error3.phpt | 6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); 9 Prototype: bool rewind ( resource $handle ); 12 Prototype: int ftell ( resource $handle ); 42 // rewind on a file handle which is already closed 43 echo "-- Testing rewind() with closed/unset file handle --"; 47 // rewind on a file handle which is unset 49 unset($file_handle); //unset file handle 89 -- Testing rewind() with closed/unset file handle --
|
H A D | fseek_ftell_rewind_error1.phpt | 6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); 9 Prototype: bool rewind ( resource $handle ); 12 Prototype: int ftell ( resource $handle ); 43 // fseek() on a file handle which is already closed 44 echo "-- Testing fseek() with closed/unset file handle --"; 48 // fseek() on a file handle which is unset 50 unset($file_handle); //unset file handle 93 -- Testing fseek() with closed/unset file handle --
|
H A D | ftruncate_error.phpt | 6 Prototype: bool ftruncate ( resource $handle, int $size ); 50 // ftruncate() on a file handle which is already closed/unset 51 echo "-- Testing ftruncate() with closed/unset file handle --\n"; 53 // ftruncate on close file handle 59 // ftruncate on a file handle which is unset 61 unset($fp); //unset file handle 115 -- Testing ftruncate() with closed/unset file handle --
|
H A D | 007_basic.phpt | 47 var_dump($handle ); 48 var_dump( ftell($handle) ); 49 var_dump( feof($handle) ); 53 var_dump( $handle ); 55 var_dump( ftell($handle) ); 56 var_dump( feof($handle) ); 74 var_dump($handle ); 76 var_dump( feof($handle) ); 80 var_dump( $handle ); 83 var_dump( feof($handle) ); [all …]
|
H A D | fread_error.phpt | 6 Prototype: string fread ( resource $handle [, int $length] ); 7 Description: reads up to length bytes from the file pointer referenced by handle. 48 // fwrite() on a file handle which is already closed 49 echo "-- Testing fwrite() with closed/unset file handle --\n"; 53 // fwrite on a file handle which is unset 55 unset($fp); //unset file handle 102 -- Testing fwrite() with closed/unset file handle --
|
H A D | fwrite_error.phpt | 6 Prototype: int fwrite ( resource $handle,string string, [, int $length] ); 7 Description: fwrite() writes the contents of string to the file stream pointed to by handle. 55 // fwrite() on a file handle which is already closed 56 echo "-- Testing fwrite() with closed/unset file handle --\n"; 60 // fwrite on a file handle which is unset 62 unset($fp); //unset file handle 113 -- Testing fwrite() with closed/unset file handle --
|
/PHP-5.5/sapi/cli/tests/ |
H A D | php_cli_server.inc | 26 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel… 34 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root); 49 function($handle) use($router) { 50 proc_terminate($handle); 53 $handle
|
/PHP-5.5/ext/intl/msgformat/ |
H A D | msgformat_class.c | 37 static void MessageFormatter_object_dtor(void *object, zend_object_handle handle TSRMLS_DC ) in MessageFormatter_object_dtor() 39 zend_objects_destroy_object( object, handle TSRMLS_CC ); in MessageFormatter_object_dtor() 67 retval.handle = zend_objects_store_put( in MessageFormatter_object_create() 83 zend_object_handle handle = Z_OBJ_HANDLE_P(object); in MessageFormatter_object_clone() local 88 …new_mfo = (MessageFormatter_object *)zend_object_store_get_object_by_handle(new_obj_val.handle TSR… in MessageFormatter_object_clone() 90 zend_objects_clone_members(&new_mfo->zo, new_obj_val, &mfo->zo, handle TSRMLS_CC); in MessageFormatter_object_clone()
|
/PHP-5.5/ext/standard/ |
H A D | dns.c | 365 dns_handle_t handle; in PHP_FUNCTION() local 400 handle = dns_open(NULL); in PHP_FUNCTION() 401 if (handle == NULL) { in PHP_FUNCTION() 406 if (res_ninit(handle)) { in PHP_FUNCTION() 420 php_dns_free_handle(handle); in PHP_FUNCTION() 775 dns_handle_t handle; in PHP_FUNCTION() local 892 handle = dns_open(NULL); in PHP_FUNCTION() 893 if (handle == NULL) { in PHP_FUNCTION() 1009 dns_handle_t handle; in PHP_FUNCTION() local 1028 handle = dns_open(NULL); in PHP_FUNCTION() [all …]
|
/PHP-5.5/Zend/ |
H A D | zend_objects.c | 61 ZEND_API void zend_objects_destroy_object(zend_object *object, zend_object_handle handle TSRMLS_DC) in zend_objects_destroy_object() 102 Z_OBJ_HANDLE_P(obj) = handle; in zend_objects_destroy_object() 103 obj_bucket = &EG(objects_store).object_buckets[handle]; in zend_objects_destroy_object() 116 if (Z_OBJ_HANDLE_P(EG(exception)) == handle) { in zend_objects_destroy_object() 150 …retval.handle = zend_objects_store_put(*object, (zend_objects_store_dtor_t) zend_objects_destroy_o… in zend_objects_new() 160 …bject, zend_object_value new_obj_val, zend_object *old_object, zend_object_handle handle TSRMLS_DC) in zend_objects_clone_members() 223 zend_object_handle handle = Z_OBJ_HANDLE_P(zobject); in zend_objects_clone_obj() local 230 zend_objects_clone_members(new_object, new_obj_val, old_object, handle TSRMLS_CC); in zend_objects_clone_obj()
|
H A D | zend_objects.h | 31 ZEND_API void zend_objects_destroy_object(zend_object *object, zend_object_handle handle TSRMLS_DC); 33 …ject, zend_object_value new_obj_val, zend_object *old_object, zend_object_handle handle TSRMLS_DC);
|
/PHP-5.5/ext/soap/ |
H A D | php_schema.h | 28 void delete_model(void *handle); 29 void delete_model_persistent(void *handle);
|
/PHP-5.5/ext/intl/formatter/ |
H A D | formatter_class.c | 39 zend_object_handle handle TSRMLS_DC ) in NumberFormatter_object_dtor() 41 zend_objects_destroy_object( object, handle TSRMLS_CC ); in NumberFormatter_object_dtor() 69 retval.handle = zend_objects_store_put( in NumberFormatter_object_create() 85 zend_object_handle handle = Z_OBJ_HANDLE_P(object); in NumberFormatter_object_clone() local 90 …new_nfo = (NumberFormatter_object *)zend_object_store_get_object_by_handle(new_obj_val.handle TSRM… in NumberFormatter_object_clone() 92 zend_objects_clone_members(&new_nfo->zo, new_obj_val, &nfo->zo, handle TSRMLS_CC); in NumberFormatter_object_clone()
|
/PHP-5.5/Zend/tests/ |
H A D | bug47714.phpt | 7 function handle($e) { 21 $h->handle($exception);
|
/PHP-5.5/ext/intl/dateformat/ |
H A D | dateformat_class.c | 38 static void IntlDateFormatter_object_dtor(void *object, zend_object_handle handle TSRMLS_DC ) in IntlDateFormatter_object_dtor() 40 zend_objects_destroy_object( object, handle TSRMLS_CC ); in IntlDateFormatter_object_dtor() 76 retval.handle = zend_objects_store_put( in IntlDateFormatter_object_create() 92 zend_object_handle handle = Z_OBJ_HANDLE_P(object); in IntlDateFormatter_object_clone() local 98 …new_dfo = (IntlDateFormatter_object *)zend_object_store_get_object_by_handle(new_obj_val.handle TS… in IntlDateFormatter_object_clone() 100 zend_objects_clone_members(&new_dfo->zo, new_obj_val, &dfo->zo, handle TSRMLS_CC); in IntlDateFormatter_object_clone()
|
/PHP-5.5/ext/spl/tests/ |
H A D | bug45216.phpt | 10 $handle = fopen($file, 'r'); 14 var_dump(fgetss($handle));
|
/PHP-5.5/ext/standard/tests/dir/ |
H A D | rewinddir_variation2.phpt | 12 * Open and close a directory handle then call rewinddir() to test behaviour 20 echo "\n-- Create the directory handle, read and close the directory --\n"; 37 -- Create the directory handle, read and close the directory --
|
/PHP-5.5/ext/sybase_ct/tests/ |
H A D | test_msghandler_handled.phpt | 27 printf("Cannot handle message #%d\n", $msgnumber); 28 return FALSE; // Indicate we can't handle this 57 Cannot handle message #156 64 Cannot handle message #249
|
/PHP-5.5/ext/interbase/ |
H A D | ibase_service.c | 31 isc_svc_handle handle; member 43 if (isc_service_detach(IB_STATUS, &sv->handle)) { in _php_ibase_free_service() 174 if (isc_service_start(IB_STATUS, &svm->handle, NULL, spb_len, buf)) { in _php_ibase_user() 214 isc_svc_handle handle = NULL; in PHP_FUNCTION() local 238 if (isc_service_attach(IB_STATUS, 0, loc, &handle, (unsigned short)spb_len, buf)) { in PHP_FUNCTION() 244 svm->handle = handle; in PHP_FUNCTION() 283 if (isc_service_start(IB_STATUS, &svm->handle, NULL, sizeof(action), action)) { in _php_ibase_service_query() 292 if (isc_service_query(IB_STATUS, &svm->handle, NULL, sizeof(spb), spb, in _php_ibase_service_query() 457 if (isc_service_start(IB_STATUS, &svm->handle, NULL, (unsigned short)spb_len, buf)) { in _php_ibase_backup_restore() 564 if (isc_service_start(IB_STATUS, &svm->handle, NULL, (unsigned short)spb_len, buf)) { in _php_ibase_service_action()
|