3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('FALSEE', 1, true); $a = false; $b = FALSEE; var_dump($a, $b); var_dump($a, $b);
Output for 5.6.30, 7.0.0 - 7.2.11
bool(false) int(1) bool(false) int(1)
Output for hhvm-3.22.0
Warning: Case insensitive constant names are not supported in HipHop in /in/qFD22 on line -1 bool(false) int(1) bool(false) int(1)
Output for hhvm-3.15.4 - 3.21.3
Warning: Case insensitive constant names are not supported in HipHop in /in/qFD22 on line 3 bool(false) int(1) bool(false) int(1)