3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('NULL', 1); var_dump(NULL, is_null(NULL)); define('TRUE', 100); var_dump(TRUE, TRUE === true);
Output for 5.1.3 - 7.1.0
NULL bool(true) bool(true) bool(true)
Output for 4.3.0 - 5.1.2
int(1) bool(false) int(100) bool(false)