/PHP-5.6/ext/standard/tests/network/ |
H A D | fsockopen_basic.phpt | 2 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 D | fsockopen_error.phpt | 2 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 D | fsockopen_variation1.phpt | 2 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 D | fsockopen_variation2.phpt | 2 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 D | bug20134.phpt | 6 $fp = fsockopen("udp://localhost", 65534, $errno, $errstr);
|
/PHP-5.6/sapi/cli/tests/ |
H A D | php_cli_server_009.phpt | 18 $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 D | php_cli_server_008.phpt | 15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 34 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_014.phpt | 18 // 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 D | php_cli_server_010.phpt | 15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 34 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_013.phpt | 16 $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 D | php_cli_server.inc | 38 // it might not be listening yet...need to wait until fsockopen() call returns 40 while (($i++ < 30) && !($fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT))) {
|
H A D | bug66830.phpt | 18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_018.phpt | 18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | bug68745.phpt | 15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_006.phpt | 15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | bug65066_100.phpt | 17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | bug65066_422.phpt | 17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | bug65066_511.phpt | 17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | bug61679.phpt | 18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | bug65633.phpt | 18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
/PHP-5.6/ext/standard/ |
H A D | fsock.h | 32 PHP_FUNCTION(fsockopen);
|
/PHP-5.6/sapi/fpm/tests/ |
H A D | 004.phpt | 32 while (($i++ < 30) && !($fp = @fsockopen('127.0.0.1', $port))) { 39 while (($i++ < 30) && !($fp = @fsockopen('[::1]', $port))) {
|
/PHP-5.6/ext/opcache/tests/ |
H A D | php_cli_server.inc | 25 // it might not be listening yet...need to wait until fsockopen() call returns 27 while (($i++ < 30) && !($fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT))) {
|
/PHP-5.6/ext/curl/tests/ |
H A D | server.inc | 35 // it might not be listening yet...need to wait until fsockopen() call returns 37 while (($i++ < 30) && !($fp = @fsockopen(PHP_CURL_SERVER_HOSTNAME, PHP_CURL_SERVER_PORT))) {
|
/PHP-5.6/ext/ldap/tests/ |
H A D | ldap_sasl_bind_basic.phpt | 11 $link = fsockopen($host, $port);
|