3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "Undefined contant's value is literal: ", UndefinedContants;
based on 71LQo
Output for 7.2.0
Undefined contant's value is literal: Warning: Use of undefined constant UndefinedContants - assumed 'UndefinedContants' (this will throw an Error in a future version of PHP) in /in/FvccP on line 3 UndefinedContants
Output for 5.3.19 - 7.1.10
Undefined contant's value is literal: Notice: Use of undefined constant UndefinedContants - assumed 'UndefinedContants' in /in/FvccP on line 3 UndefinedContants