3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $h = fopen(__FILE__, 'r'); print_r(stream_get_meta_data($h));
based on 1OAEr
Output for 5.5.32 - 5.5.35, 5.6.18 - 5.6.28, 7.0.3 - 7.1.0
Array ( [timed_out] => [blocked] => 1 [eof] => [wrapper_type] => plainfile [stream_type] => STDIO [mode] => r [unread_bytes] => 0 [seekable] => 1 [uri] => /in/uM0at )
Output for 5.0.0 - 5.5.31, 5.6.8 - 5.6.17, 7.0.0 - 7.0.2
Array ( [wrapper_type] => plainfile [stream_type] => STDIO [mode] => r [unread_bytes] => 0 [seekable] => 1 [uri] => /in/uM0at [timed_out] => [blocked] => 1 [eof] => )
Output for hhvm-3.10.0 - 3.12.0
Array ( [wrapper_type] => plainfile [stream_type] => STDIO [mode] => r [unread_bytes] => 0 [seekable] => 1 [uri] => /in/uM0at [timed_out] => [blocked] => 1 [eof] => [wrapper_data] => )
Output for 4.3.0 - 4.4.9
Array ( [wrapper_type] => plainfile [stream_type] => STDIO [unread_bytes] => 0 [timed_out] => [blocked] => 1 [eof] => )