3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(@__FILE__ == '__FILE__'){ // non-existent magic constant echo 'magic constant is undefined'; // suppressed notice } else { echo 'Magic constant exists'; }
Output for 4.3.0 - 7.1.0
Magic constant exists