blob: bad5987990f9c793a454f8a555b09d030ceb5c15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--TEST--
stream_get_meta_data() basic functionality
--FILE--
<?php
$fp = fopen(__FILE__, "r");
var_dump(stream_get_meta_data($fp));
fclose($fp);
?>
--EXPECTF--
array(9) {
["timed_out"]=>
bool(false)
["blocked"]=>
bool(true)
["eof"]=>
bool(false)
["wrapper_type"]=>
string(9) "plainfile"
["stream_type"]=>
string(5) "STDIO"
["mode"]=>
string(1) "r"
["unread_bytes"]=>
int(0)
["seekable"]=>
bool(true)
["uri"]=>
string(%i) "%sstream_get_meta_data_file_basic.php"
}
|