Home
last modified time | relevance | path

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

/PHP-5.3/ext/standard/tests/network/
H A Dfsockopen_basic.phpt2 Test fsockopen() function : basic functionality
11 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_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
9 echo "\nCalling fsockopen() without a protocol in the hostname string:\n";
12 $client = fsockopen($hostname, $port);
16 echo "\nCalling fsockopen() with address and port in same string, without a protocol:\n";
18 $second_client = fsockopen($address);
27 Calling fsockopen() without a protocol in the hostname string:
30 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.3/ext/standard/
H A Dfsock.h32 PHP_FUNCTION(fsockopen);
H A Dfsock.c121 PHP_FUNCTION(fsockopen) in PHP_FUNCTION() argument
H A Dbasic_functions.c3151 PHP_FE(fsockopen, arginfo_fsockopen)
/PHP-5.3/ext/ldap/tests/
H A Dldap_sasl_bind_basic.phpt11 $link = fsockopen($host, $port);
H A Dldap_set_rebind_proc_error.phpt13 $link = fsockopen($host, $port);
/PHP-5.3/ext/openssl/tests/
H A Dbug46127.phpt48 $sock = fsockopen('ssl://127.0.0.1', $port, $errno, $errstr);
/PHP-5.3/ext/standard/tests/file/
H A Dfgets_socket_variation1.phpt12 $client = fsockopen('tcp://127.0.0.1:31337');
H A Dfgets_socket_variation2.phpt23 $client = fsockopen('tcp://127.0.0.1:31337');
/PHP-5.3/ext/standard/tests/streams/
H A Dstream_get_meta_data_socket_variation3.phpt10 $client = fsockopen('tcp://127.0.0.1:31337');
H A Dstream_get_meta_data_socket_variation4.phpt10 $client = fsockopen('tcp://127.0.0.1:31337');
H A Dstream_get_meta_data_socket_variation2.phpt10 $client = fsockopen('tcp://127.0.0.1:31337');
H A Dstream_get_meta_data_socket_variation1.phpt10 $client = fsockopen('tcp://127.0.0.1:31337');
H A Dstream_set_timeout_error.phpt19 $client = fsockopen('tcp://127.0.0.1:31337');
/PHP-5.3/
H A Drun-tests.php982 $fs = fsockopen($host, $port, $errno, $errstr, 10);

Completed in 32 milliseconds