3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var $something = ""; if ( !$something ) { echo "Not Something".PHP_EOL; } if ( 0 == $something ) { echo "0 equals something".PHP_EOL; } if ( false == $something ) { echo "false equals something".PHP_EOL; } if ( null == $something ) { echo "false equals something".PHP_EOL; }
based on 3rMt5
Output for 5.4.0 - 5.4.37
Parse error: syntax error, unexpected 'var' (T_VAR) in /in/P11Lh on line 2
Process exited with code 255.