3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function xx() { return 1; } print(xx);
based on FtaMA
Output for 7.2.0
Warning: Use of undefined constant xx - assumed 'xx' (this will throw an Error in a future version of PHP) in /in/JW6NV on line 8 xx
Output for 5.5.0 - 7.1.10
Notice: Use of undefined constant xx - assumed 'xx' in /in/JW6NV on line 8 xx