3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $g = glob('var/*'); echo implode("\n",$g);
Output for 5.2.3 - 7.1.0
var/cache var/db var/empty var/games var/lib var/local var/log var/mail var/opt var/run var/spool var/tmp
Output for 4.3.0 - 4.3.6, 4.3.9 - 5.2.2
Output for 4.3.7 - 4.3.8
Warning: implode(): Bad arguments. in /in/U0r5k on line 3