3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // What will this print out in php5? $string1 = "Hello " . $string2 = 'World' . '!'; $string = $string1 . $string2; echo $string;
based on vtul1
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.0beta1
Hello World!World!