Home
last modified time | relevance | path

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

123

/PHP-7.3/ext/standard/tests/network/
H A Dfsockopen_basic.phpt2 Test fsockopen() function : basic functionality
11 echo "*** Testing fsockopen() : basic functionality ***\n";
30 echo "\nCalling fsockopen() with all possible arguments:\n";
31 $client = fsockopen($hostname, $port, $errno, $errstr, $timeout);
35 echo "\nCalling fsockopen() with mandatory arguments:\n";
36 $second_client = fsockopen($hostname, $port);
42 $third_client = fsockopen($address);
49 *** Testing fsockopen() : basic functionality ***
52 Calling fsockopen() with all possible arguments:
55 Calling fsockopen() with mandatory arguments:
[all …]
H A Dfsockopen_error.phpt2 Test fsockopen() function : error conditions
12 echo "*** Testing fsockopen() : basic error conditions ***\n";
22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout, $extra_arg) );
27 var_dump( fsockopen() );
35 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
44 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
50 *** Testing fsockopen() : basic error conditions ***
52 -- Testing fsockopen() function with more than expected no. of arguments --
54 Warning: fsockopen() expects at most 5 parameters, 6 given in %s on line %d
59 -- Testing fsockopen() function with less than expected no. of 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 Dbug20134.phpt6 $fp = fsockopen("udp://localhost", 65534, $errno, $errstr);
/PHP-7.3/sapi/cli/tests/
H A Dphp_cli_server_009.phpt18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
37 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
57 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_008.phpt15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
34 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_014.phpt18 // timeouts to 1000 millis(1.0) (fsockopen eventually calls select()).
20 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
43 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_010.phpt15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
34 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_013.phpt16 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
41 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
62 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server.inc44 // it might not be listening yet...need to wait until fsockopen() call returns
49 $fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT);
H A Demptyheader.phpt12 $fp = fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT, $errno, $errmsg, 0.5);
H A Dphp_cli_server_020.phpt15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug66830.phpt18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug65066_100.phpt17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug71005.phpt21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_018.phpt18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug65066_422.phpt17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug65066_511.phpt17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug68745.phpt15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
/PHP-7.3/ext/standard/
H A Dfsock.h28 PHP_FUNCTION(fsockopen);
/PHP-7.3/ext/opcache/tests/
H A Dphp_cli_server.inc31 // it might not be listening yet...need to wait until fsockopen() call returns
36 $fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT);
/PHP-7.3/ext/curl/tests/
H A Dserver.inc41 // it might not be listening yet...need to wait until fsockopen() call returns
46 $fp = @fsockopen(PHP_CURL_SERVER_HOSTNAME, PHP_CURL_SERVER_PORT);
H A Dbug78775.phpt12 $sock = fsockopen("tls://google.com", 443);
/PHP-7.3/ext/ldap/tests/
H A Dldap_sasl_bind_basic.phpt11 $link = fsockopen($host, $port);

Completed in 29 milliseconds

123