repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
import zend standard tests
[hiphop-php.git]
/
hphp
/
test
/
zend
/
bad
/
ext-standard-streams
/
stream_get_meta_data_socket_variation3.php.expectf
blob
f5c4f93f4a16740f00b8a48ff5f57de896d9f598
1
array(7) {
2
["stream_type"]=>
3
string(%d) "tcp_socke%s"
4
["mode"]=>
5
string(2) "r+"
6
["unread_bytes"]=>
7
int(0)
8
["seekable"]=>
9
bool(false)
10
["timed_out"]=>
11
bool(false)
12
["blocked"]=>
13
bool(true)
14
["eof"]=>
15
bool(false)
16
}
17
18
19
Set blocking to false:
20
bool(true)
21
array(7) {
22
["stream_type"]=>
23
string(%d) "tcp_socke%s"
24
["mode"]=>
25
string(2) "r+"
26
["unread_bytes"]=>
27
int(0)
28
["seekable"]=>
29
bool(false)
30
["timed_out"]=>
31
bool(false)
32
["blocked"]=>
33
bool(false)
34
["eof"]=>
35
bool(false)
36
}
37
38
39
Set blocking to true:
40
bool(true)
41
array(7) {
42
["stream_type"]=>
43
string(%d) "tcp_socke%s"
44
["mode"]=>
45
string(2) "r+"
46
["unread_bytes"]=>
47
int(0)
48
["seekable"]=>
49
bool(false)
50
["timed_out"]=>
51
bool(false)
52
["blocked"]=>
53
bool(true)
54
["eof"]=>
55
bool(false)
56
}