3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo array_key_exists('id', $_GET) ? 'yes' : 'no'; /*for ($files = scandir('.', 1); $files; ) { $file = array_pop($files); if (is_file($file) && !is_dir($file)) { break; } } echo '$file = '. $file;*/ ?>
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
no
Output for hhvm-3.10.0

Process exited with code 153.