Home
last modified time | relevance | path

Searched refs:fsockopen (Results 1 – 25 of 25) sorted by relevance

/PHP-8.1/ext/standard/tests/network/
H A Dfsockopen_basic.phpt2 Test fsockopen() function : basic functionality
5 echo "*** Testing fsockopen() : basic functionality ***\n";
24 echo "\nCalling fsockopen() with all possible arguments:\n";
25 $client = fsockopen($hostname, $port, $errno, $errstr, $timeout);
29 echo "\nCalling fsockopen() with mandatory arguments:\n";
30 $second_client = fsockopen($hostname, $port);
36 $third_client = fsockopen($address);
43 *** Testing fsockopen() : basic functionality ***
46 Calling fsockopen() with all possible arguments:
49 Calling fsockopen() with mandatory arguments:
[all …]
H A Dfsockopen_variation1.phpt2 testing fsockopen without a protocol string
16 echo "\nCalling fsockopen() without a protocol in the hostname string:\n";
18 $client = fsockopen($hostname, $port);
22 echo "\nCalling fsockopen() with address and port in same string, without a protocol:\n";
24 $second_client = fsockopen($address);
33 Calling fsockopen() without a protocol in the hostname string:
36 Calling fsockopen() with address and port in same string, without a protocol:
H A Dfsockopen_variation2.phpt2 testing fsockopen() with udp sockets
12 echo "\nCalling fsockopen():\n";
13 $client = fsockopen($hostname, $port);
21 echo "\nCalling fsockopen() with address and port in same string:\n";
23 $second_client = fsockopen($address);
37 Calling fsockopen():
43 Calling fsockopen() with address and port in same string:
H A Dfsockopen_error.phpt2 Test fsockopen() function : error conditions
5 echo "*** Testing fsockopen() : basic error conditions ***\n";
13 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
28 *** Testing fsockopen() : basic error conditions ***
32 Warning: fsockopen(): Unable to connect to tcp://127.0.0.1:31337 (%a) in %s on line %d
38 Warning: fsockopen(): Unable to connect to invalid://127.0.0.1:31337 (Unable to find the socket tra…
H A Dbug20134.phpt8 $fp = fsockopen("udp://localhost", 65534, $errno, $errstr);
/PHP-8.1/ext/opcache/tests/
H A Dphp_cli_server.inc23 // it might not be listening yet...need to wait until fsockopen() call returns
28 $fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT);
/PHP-8.1/sapi/cli/tests/
H A Dphp_cli_server.inc68 // it might not be listening yet...need to wait until fsockopen() call returns
73 $fp = @fsockopen("tcp://$bound");
112 $fp = fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT, $errno, $errstr, $timeout);
/PHP-8.1/ext/curl/tests/
H A Dbug78775.phpt13 $sock = fsockopen("tls://google.com", 443);
H A Dserver.inc45 // it might not be listening yet...need to wait until fsockopen() call returns
50 $fp = @fsockopen("tcp://$bound");
/PHP-8.1/ext/pdo_firebird/tests/
H A Dpayload_server.inc42 // it might not be listening yet...need to wait until fsockopen() call returns
47 $fp = fsockopen("tcp://$bound");
/PHP-8.1/ext/ldap/tests/
H A Dldap_sasl_bind_basic.phpt12 $link = @fsockopen($host, $port);
H A Dldap_set_rebind_proc_error.phpt14 $link = @fsockopen($host, $port);
/PHP-8.1/ext/standard/tests/streams/
H A Dstream_set_timeout_error.phpt16 $client = fsockopen("tcp://127.0.0.1:$port");
H A Dstream_get_meta_data_socket_variation3.phpt10 $client = fsockopen('tcp://127.0.0.1:31333');
H A Dstream_get_meta_data_socket_variation4.phpt10 $client = fsockopen('tcp://127.0.0.1:31334');
H A Dstream_get_meta_data_socket_variation2.phpt10 $client = fsockopen('tcp://127.0.0.1:31332');
H A Dstream_get_meta_data_socket_variation1.phpt10 $client = fsockopen('tcp://127.0.0.1:31331');
/PHP-8.1/ext/standard/tests/file/
H A Dfgets_socket_variation1.phpt18 $client = fsockopen("tcp://127.0.0.1:$port");
H A Dfgets_socket_variation2.phpt29 $client = fsockopen("tcp://127.0.0.1:$port");
/PHP-8.1/ext/standard/
H A Dfsock.c131 PHP_FUNCTION(fsockopen) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php1286 function fsockopen(string $hostname, int $port = -1, &$error_code = null, &$error_message = null, ?… function
H A Dbasic_functions_arginfo.h2630 ZEND_FUNCTION(fsockopen);
3273 ZEND_FE(fsockopen, arginfo_fsockopen)
/PHP-8.1/ext/soap/tests/
H A Dbug73037.phpt101 $fp = fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT, $errno, $errstr, 5);
/PHP-8.1/sapi/fpm/tests/
H A Dfcgi.inc276 $this->_sock = fsockopen(
H A Dtester.inc500 $fp = @fsockopen($host, $this->getPort());

Completed in 51 milliseconds