3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo barewords, strings, same_difference;
Output for 7.2.0
Warning: Use of undefined constant barewords - assumed 'barewords' (this will throw an Error in a future version of PHP) in /in/2t4UX on line 3 barewords Warning: Use of undefined constant strings - assumed 'strings' (this will throw an Error in a future version of PHP) in /in/2t4UX on line 3 strings Warning: Use of undefined constant same_difference - assumed 'same_difference' (this will throw an Error in a future version of PHP) in /in/2t4UX on line 3 same_difference
Output for 5.3.21 - 7.1.10
Notice: Use of undefined constant barewords - assumed 'barewords' in /in/2t4UX on line 3 barewords Notice: Use of undefined constant strings - assumed 'strings' in /in/2t4UX on line 3 strings Notice: Use of undefined constant same_difference - assumed 'same_difference' in /in/2t4UX on line 3 same_difference