3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define("NULL", true, true); if (NULL === null) { echo "null"; } else { echo "huh?"; }
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Constant null already defined in /in/2Ip0Q on line 3 null
Output for hhvm-3.10.0 - 3.12.0
Warning: Case insensitive constant names are not supported in HipHop in /in/2Ip0Q on line 3 Notice: Constant NULL already defined in /in/2Ip0Q on line 3 null