--EXPECT--
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
--UEXPECT--
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
Write some data:
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
Read a line from the client, causing data to be buffered:
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
Read 3 bytes of data from the client:
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
Close the server side socket and read the remaining data from the client:
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
Notice: fwrite(): 23 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
Read a line from the client, causing data to be buffered:
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
Read 3 bytes of data from the client:
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
Close the server side socket and read the remaining data from the client:
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
--EXPECT--
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
Set a timeout on the client and attempt a read:
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
Write some data from the server:
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
Read some data from the client:
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
--UEXPECTF--
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
Set a timeout on the client and attempt a read:
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
Notice: fwrite(): 5 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
Read some data from the client:
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
--EXPECT--
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
bool(true)
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
bool(true)
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
--UEXPECT--
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
bool(true)
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
bool(true)
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
Write some data:
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
Read a line from the client:
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
Close the server side socket and read the remaining data from the client:
array(8) {
["stream_type"]=>
- string(10) "tcp_socket"
+ string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
Notice: fwrite(): 23 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
Read a line from the client:
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>
Close the server side socket and read the remaining data from the client:
array(8) {
[u"stream_type"]=>
- unicode(10) "tcp_socket"
+ unicode(%d) "tcp_socke%s"
[u"mode"]=>
unicode(2) "r+"
[u"unread_bytes"]=>