3v4l.org

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