3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define("greetings","hello iam constant body",false); echo greetings; echo Greetings;
based on M86kY
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
hello iam constant body Notice: Use of undefined constant Greetings - assumed 'Greetings' in /in/lg4OS on line 4 Greetings