/PHP-8.3/ext/curl/tests/ |
H A D | bug76675.phpt | 41 $handle = $info['handle']; 42 if ($handle !== null) { 44 curl_multi_remove_handle($mh, $handle); 45 curl_close($handle);
|
H A D | curl_copy_handle_variation2.phpt | 9 the only way to test if a option is setten on a curl handle is using the curl_getinfo() function. 18 // copy the handle 22 // add some CURLOPT to the second handle 27 // add same CURLOPT to the first handle 31 // change a CURLOPT in the second handle
|
H A D | curl_copy_handle_variation1.phpt | 2 Test curl_copy_handle() change options in one handle 18 // copy the handle 21 // change the CURLOPT_URL for the second handle
|
H A D | bug52827.phpt | 11 * cast to a FILE* handle in curl_setopt already 21 $handle=curl_init('http://www.example.com'); 22 curl_setopt($handle, CURLOPT_STDERR, $s);
|
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
|
/PHP-8.3/ext/standard/tests/file/ |
H A D | fgets_variation2.phpt | 2 Test fgets() function : usage variations - closed handle 6 - closed file handle 7 - unset file handle 15 echo "-- Testing fgets() with closed handle --\n"; 37 -- Testing fgets() with closed handle --
|
H A D | file_get_contents_basic001.phpt | 9 $handle = fopen($temp_filename,"w"); 10 fwrite($handle,$file_content); 11 fclose($handle);
|
H A D | ftruncate_error.phpt | 13 // ftruncate() on a file handle which is already closed/unset 14 echo "-- Testing ftruncate() with closed/unset file handle --\n"; 16 // ftruncate on close file handle 37 -- Testing ftruncate() with closed/unset file handle --
|
H A D | fseek_ftell_rewind_error1.phpt | 8 // fseek() on a file handle which is already closed 9 echo "-- Testing fseek() with closed/unset file handle --\n"; 22 -- Testing fseek() with closed/unset file handle --
|
H A D | fseek_ftell_rewind_error2.phpt | 8 // ftell on a file handle which is already closed 9 echo "-- Testing ftell with closed/unset file handle --\n"; 22 -- Testing ftell with closed/unset file handle --
|
H A D | fseek_ftell_rewind_error3.phpt | 8 // rewind on a file handle which is already closed 9 echo "-- Testing rewind() with closed/unset file handle --\n"; 22 -- Testing rewind() with closed/unset file handle --
|
/PHP-8.3/ext/phar/tests/ |
H A D | GHSA-jqcx-ccgc-xwhv.phpt | 15 $handle = opendir('phar://' . __DIR__ . '/GHSA-jqcx-ccgc-xwhv.phar'); 16 var_dump(strlen(readdir($handle))); 18 var_dump(readdir($handle)); 19 closedir($handle);
|
/PHP-8.3/ext/posix/tests/ |
H A D | posix_isatty_no_warning_on_stream_cast.phpt | 24 $handle = fopen($uri, 'r'); 25 var_dump(posix_isatty($handle)); 26 var_dump(fread($handle, 20)); 27 fclose($handle);
|
H A D | posix_ttyname_no_warning_on_cast.phpt | 24 $handle = fopen($uri, 'r'); 25 var_dump(posix_ttyname($handle)); 26 var_dump(fread($handle, 20)); 27 fclose($handle);
|
/PHP-8.3/ext/standard/tests/dir/ |
H A D | dir_basic.phpt | 27 echo "\nTest using handle directly:\n"; 28 var_dump( readdir($d->handle) ); 29 var_dump( readdir($d->handle) ); 59 ["handle"]=> 68 Test using handle directly: 77 ["handle"]=>
|
H A D | dir_variation3.phpt | 58 // try to get dir handle 86 ["handle"]=> 97 ["handle"]=> 108 ["handle"]=> 119 ["handle"]=> 130 ["handle"]=> 141 ["handle"]=> 152 ["handle"]=> 163 ["handle"]=> 174 ["handle"]=> [all …]
|
H A D | dir_basic-win32-mb.phpt | 33 echo "\nTest using handle directly:\n"; 34 var_dump( readdir($d->handle) ); 35 var_dump( readdir($d->handle) ); 65 ["handle"]=> 74 Test using handle directly: 83 ["handle"]=>
|
/PHP-8.3/tests/output/ |
H A D | sapi_windows_vt100_support_no_warning_on_cast.phpt | 25 $handle = fopen($uri, 'r'); 26 var_dump(sapi_windows_vt100_support($handle)); 27 var_dump(fread($handle, 20)); 28 fclose($handle);
|
H A D | stream_isatty_no_warning_on_cast.phpt | 23 $handle = fopen($uri, 'r'); 24 var_dump(stream_isatty($handle)); 25 var_dump(fread($handle, 20)); 26 fclose($handle);
|
/PHP-8.3/ext/libxml/tests/ |
H A D | libxml_get_external_entity_loader.phpt | 15 public function handle($public, $system, $context) { 25 libxml_set_external_entity_loader([new Handler('A'), 'handle']); 27 libxml_set_external_entity_loader([new Handler('B'), 'handle']);
|
/PHP-8.3/ext/standard/ |
H A D | php_dns.h | 27 #define php_dns_errno(handle) h_errno argument 41 #define php_dns_errno(handle) handle->res_h_errno argument 47 #define php_dns_errno(handle) h_errno argument
|
H A D | dns.c | 375 dns_handle_t handle; in PHP_FUNCTION() local 413 handle = dns_open(NULL); in PHP_FUNCTION() 414 if (handle == NULL) { in PHP_FUNCTION() 419 if (res_ninit(handle)) { in PHP_FUNCTION() 816 dns_handle_t handle; in PHP_FUNCTION() local 943 handle = dns_open(NULL); in PHP_FUNCTION() 944 if (handle == NULL) { in PHP_FUNCTION() 1060 dns_handle_t handle; in PHP_FUNCTION() local 1086 handle = dns_open(NULL); in PHP_FUNCTION() 1087 if (handle == NULL) { in PHP_FUNCTION() [all …]
|
/PHP-8.3/ext/zip/tests/ |
H A D | utils.inc | 32 if ($handle = opendir($dir)) { 33 while (false !== ($item = readdir($handle))) { 42 closedir($handle);
|
/PHP-8.3/ext/standard/tests/directory/ |
H A D | DirectoryClass_basic_001.phpt | 6 * Description: Directory class with properties, handle and class and methods read, rewind and close 40 Property [ public readonly mixed $handle ] 70 ["handle"]=> 73 Unable to find my handle property
|
/PHP-8.3/win32/ |
H A D | winutil.c | 442 static zend_always_inline BOOL is_compatible(HMODULE handle, BOOL is_smaller, char *format, char **… in is_compatible() argument 444 PIMAGE_DOS_HEADER dosHeader = (PIMAGE_DOS_HEADER) handle; in is_compatible() 468 if (GetModuleFileName(handle, buf, sizeof(buf)) != 0) { in is_compatible() 479 PHP_WINUTIL_API BOOL php_win32_image_compatible(HMODULE handle, char **err) in php_win32_image_compatible() argument 481 …return is_compatible(handle, TRUE, "Can't load module '%s' as it's linked with %u.%u, but the core… in php_win32_image_compatible() 494 HMODULE handle = GetModuleHandle(crt_name); in php_win32_crt_compatible() local 495 if (handle == NULL) { in php_win32_crt_compatible() 499 …return is_compatible(handle, FALSE, "'%s' %u.%u is not compatible with this PHP build linked with … in php_win32_crt_compatible()
|