3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $my_file = @file ('non_existent_file') or die ("error:'$php_errormsg'");
based on pedQo
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: php_errormsg in /in/4UtR7 on line 3 error:''
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: php_errormsg in /in/4UtR7 on line 3 error:''