3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if(print Hello and print chr(44) and print chr(32) and print World and print chr(33) ){} /*if (print chr(72)) if (print chr(101)) if (print chr(108)) if (print chr(111)) if (print chr(44)) if (print chr(32)) if (print chr(87)) if (print chr(111)) if (print chr(114)) if (print chr(108)) if (print chr(100)) if (print chr(33)) { }*/
Output for 7.2.0 - 7.3.0rc4
Warning: Use of undefined constant Hello - assumed 'Hello' (this will throw an Error in a future version of PHP) in /in/YdI6W on line 2 Hello, Warning: Use of undefined constant World - assumed 'World' (this will throw an Error in a future version of PHP) in /in/YdI6W on line 5 World!
Output for 7.0.0 - 7.1.20
Notice: Use of undefined constant Hello - assumed 'Hello' in /in/YdI6W on line 2 Hello, Notice: Use of undefined constant World - assumed 'World' in /in/YdI6W on line 5 World!
Output for 4.3.0 - 5.6.28
Notice: Use of undefined constant Hello - assumed 'Hello' in /in/YdI6W on line 3 Hello, Notice: Use of undefined constant World - assumed 'World' in /in/YdI6W on line 6 World!