3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "my first \nPHP script"; echo '\nmy first script'; $a = 1; $b = 2; echo "a={$a};b={$b}"; ?> <div>Div</div>
based on 4qOmV
Output for 4.3.0 - 7.1.0
my first PHP script\nmy first scripta=1;b=2 <div>Div</div>