3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('true', false, true); var_dump(true, constant('true'));
Output for 7.3.0beta1 - 7.3.0rc4
Deprecated: define(): Declaration of case-insensitive constants is deprecated in /in/fSh8r on line 3 Notice: Constant true already defined in /in/fSh8r on line 3 bool(true) bool(true)
Output for 4.3.0 - 7.3.0alpha1
Notice: Constant true already defined in /in/fSh8r on line 3 bool(true) bool(true)