3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $h = opendir('.'); print_r(stream_get_metadata($h));
based on I68ML
Output for 7.0.0 - 7.1.0
Warning: opendir(.): failed to open dir: Permission denied in /in/XeeDV on line 3 Fatal error: Uncaught Error: Call to undefined function stream_get_metadata() in /in/XeeDV:6 Stack trace: #0 {main} thrown in /in/XeeDV on line 6
Process exited with code 255.
Output for hhvm-3.12.0
Warning: Permission denied in /in/XeeDV on line 3 Fatal error: Call to undefined function stream_get_metadata() in /in/XeeDV on line 6
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.2.2, 5.5.24 - 5.6.28
Warning: opendir(.): failed to open dir: Permission denied in /in/XeeDV on line 3 Fatal error: Call to undefined function stream_get_metadata() in /in/XeeDV on line 6
Process exited with code 255.
Output for 5.2.3 - 5.4.45
Fatal error: Call to undefined function stream_get_metadata() in /in/XeeDV on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Warning: opendir(.): failed to open dir: Permission denied in /in/XeeDV on line 3 Fatal error: Call to undefined function: stream_get_metadata() in /in/XeeDV on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Warning: opendir(.): failed to open dir: Permission denied in /in/XeeDV on line 3 Fatal error: Call to undefined function: stream_get_metadata() in /in/XeeDV on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: opendir(.) [http://www.php.net/function.opendir]: failed to open dir: Permission denied in /in/XeeDV on line 3 Fatal error: Call to undefined function: stream_get_metadata() in /in/XeeDV on line 6