3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $someVar = 'bar'; define($someVar, 'foo', true); //true = case insensitive echo bAr;
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
foo
Output for hhvm-3.10.0 - 3.12.0
Warning: Case insensitive constant names are not supported in HipHop in /in/jQFlg on line 4 Notice: Use of undefined constant bAr - assumed 'bAr' in /in/jQFlg on line 6 bAr