Home
last modified time | relevance | path

Searched refs:handle (Results 26 – 50 of 446) sorted by relevance

12345678910>>...18

/PHP-8.3/ext/curl/tests/
H A Dbug76675.phpt41 $handle = $info['handle'];
42 if ($handle !== null) {
44 curl_multi_remove_handle($mh, $handle);
45 curl_close($handle);
H A Dcurl_copy_handle_variation2.phpt9 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 Dcurl_copy_handle_variation1.phpt2 Test curl_copy_handle() change options in one handle
18 // copy the handle
21 // change the CURLOPT_URL for the second handle
H A Dbug52827.phpt11 * 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 Dcurl_file_deleted_before_curl_close.phpt19 $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 Dfgets_variation2.phpt2 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 Dfile_get_contents_basic001.phpt9 $handle = fopen($temp_filename,"w");
10 fwrite($handle,$file_content);
11 fclose($handle);
H A Dftruncate_error.phpt13 // 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 Dfseek_ftell_rewind_error1.phpt8 // 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 Dfseek_ftell_rewind_error2.phpt8 // 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 Dfseek_ftell_rewind_error3.phpt8 // 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 DGHSA-jqcx-ccgc-xwhv.phpt15 $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 Dposix_isatty_no_warning_on_stream_cast.phpt24 $handle = fopen($uri, 'r');
25 var_dump(posix_isatty($handle));
26 var_dump(fread($handle, 20));
27 fclose($handle);
H A Dposix_ttyname_no_warning_on_cast.phpt24 $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 Ddir_basic.phpt27 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 Ddir_variation3.phpt58 // 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 Ddir_basic-win32-mb.phpt33 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 Dsapi_windows_vt100_support_no_warning_on_cast.phpt25 $handle = fopen($uri, 'r');
26 var_dump(sapi_windows_vt100_support($handle));
27 var_dump(fread($handle, 20));
28 fclose($handle);
H A Dstream_isatty_no_warning_on_cast.phpt23 $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 Dlibxml_get_external_entity_loader.phpt15 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 Dphp_dns.h27 #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 Ddns.c375 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 Dutils.inc32 if ($handle = opendir($dir)) {
33 while (false !== ($item = readdir($handle))) {
42 closedir($handle);
/PHP-8.3/ext/standard/tests/directory/
H A DDirectoryClass_basic_001.phpt6 * 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 Dwinutil.c442 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()

Completed in 45 milliseconds

12345678910>>...18