3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(opendir('/tmp'));
based on 8Ts3X
Output for 5.3.0 - 7.1.0
resource(5) of type (stream)
Output for 5.2.3 - 5.2.17
resource(4) of type (stream)
Output for 4.3.0 - 5.2.2
resource(1) of type (stream)