3v4l.org

run code in 150+ 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 hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
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!