3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define("DEFINE",1); $var = 12349394; var_dump( defined("DEFINE"), defined($var), defined("Hi"), $var, DEFINE );
Output for 4.3.5 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(true) bool(false) bool(false) int(12349394) int(1)
Output for 4.3.0 - 4.3.4
int(1) int(0) int(0) int(12349394) int(1)