3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define("GREETING", "welcome to W3"); echo greeting; ?>
based on ooPi5
Output for 7.2.0
Warning: Use of undefined constant greeting - assumed 'greeting' (this will throw an Error in a future version of PHP) in /in/oftCY on line 3 greeting
Output for 7.1.10

Process exited with code 137.
Output for 5.3.19 - 7.1.7
Notice: Use of undefined constant greeting - assumed 'greeting' in /in/oftCY on line 3 greeting