3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php $txt="Hello world!"; $x=5; $y=10.5; echo $txt; echo "<br>"; echo $x; echo"<br>"; echo $y; ?> </body> </html>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<!DOCTYPE html> <html> <body> Hello world!<br>5<br>10.5 </body> </html>