mirror of
https://github.com/php/php-src.git
synced 2024-09-27 21:07:25 +00:00
expect->expectf
This commit is contained in:
parent
9b1c720c3d
commit
a81de7c7a1
@ -8,7 +8,7 @@ var_dump(stream_get_meta_data($tcp_socket));
|
||||
fclose($tcp_socket);
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
--EXPECTF--
|
||||
array(8) {
|
||||
["stream_type"]=>
|
||||
string(%d) "tcp_socke%s"
|
||||
@ -27,7 +27,7 @@ array(8) {
|
||||
["eof"]=>
|
||||
bool(false)
|
||||
}
|
||||
--UEXPECT--
|
||||
--UEXPECTF--
|
||||
array(8) {
|
||||
[u"stream_type"]=>
|
||||
unicode(%d) "tcp_socke%s"
|
||||
|
@ -33,7 +33,7 @@ while(!feof($client)) {
|
||||
var_dump(stream_get_meta_data($client));
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
--EXPECTF--
|
||||
Write some data:
|
||||
array(8) {
|
||||
["stream_type"]=>
|
||||
|
@ -32,7 +32,7 @@ fclose($socket);
|
||||
fclose($server);
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
--EXPECTF--
|
||||
array(8) {
|
||||
["stream_type"]=>
|
||||
string(%d) "tcp_socke%s"
|
||||
|
@ -27,7 +27,7 @@ fclose($socket);
|
||||
fclose($server);
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
--EXPECTF--
|
||||
array(8) {
|
||||
["stream_type"]=>
|
||||
string(%d) "tcp_socke%s"
|
||||
@ -90,7 +90,7 @@ array(8) {
|
||||
["eof"]=>
|
||||
bool(false)
|
||||
}
|
||||
--UEXPECT--
|
||||
--UEXPECTF--
|
||||
array(8) {
|
||||
[u"stream_type"]=>
|
||||
unicode(%d) "tcp_socke%s"
|
||||
|
Loading…
Reference in New Issue
Block a user