Home
last modified time | relevance | path

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

12

/PHP-5.4/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-5.4/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_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_010.phpt15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
34 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server.inc39 // it might not be listening yet...need to wait until fsockopen() call returns
41 while (($i++ < 30) && !($fp = @fsockopen(PHP_CLI_SERVER_HOSTNAME, PHP_CLI_SERVER_PORT))) {
H A Dphp_cli_server_011.phpt15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug66830.phpt18 $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_100.phpt17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug65066_511.phpt17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_006.phpt15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug65066_422.phpt17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug65633.phpt18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_017.phpt18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug67429.phpt20 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_007.phpt15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dbug61679.phpt18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
/PHP-5.4/ext/standard/
H A Dfsock.h32 PHP_FUNCTION(fsockopen);
/PHP-5.4/ext/ldap/tests/
H A Dldap_sasl_bind_basic.phpt11 $link = fsockopen($host, $port);

Completed in 31 milliseconds

12