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