fclose($tcp_socket);
?>
---EXPECT--
+--EXPECTF--
array(8) {
["stream_type"]=>
string(%d) "tcp_socke%s"
["eof"]=>
bool(false)
}
---UEXPECT--
+--UEXPECTF--
array(8) {
[u"stream_type"]=>
unicode(%d) "tcp_socke%s"
var_dump(stream_get_meta_data($client));
?>
---EXPECT--
+--EXPECTF--
Write some data:
array(8) {
["stream_type"]=>
fclose($server);
?>
---EXPECT--
+--EXPECTF--
array(8) {
["stream_type"]=>
string(%d) "tcp_socke%s"
fclose($server);
?>
---EXPECT--
+--EXPECTF--
array(8) {
["stream_type"]=>
string(%d) "tcp_socke%s"
["eof"]=>
bool(false)
}
---UEXPECT--
+--UEXPECTF--
array(8) {
[u"stream_type"]=>
unicode(%d) "tcp_socke%s"