3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); define('Lol', 1, true); define('LOL', 2); var_dump(Lol, LOL, lol, constant('Lol'), constant('LOL'), constant('lol'));
Output for 4.3.0 - 7.1.0
int(1) int(2) int(1) int(1) int(2) int(1)