3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(scandir('/tmp'));
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
array(2) { [0]=> string(1) "." [1]=> string(2) ".." }
Output for hhvm-3.12.0
array(3) { [0]=> string(1) "." [1]=> string(2) ".." [2]=> string(13) "perf-9878.map" }
Output for hhvm-3.10.0
array(3) { [0]=> string(1) "." [1]=> string(2) ".." [2]=> string(13) "perf-9890.map" }