3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x=5; $y=10.50; $txt="hello world"; $z=$x+$y; echo $z; print "$txt.$z"; var_dump($x); var_dump($y); var_dump($txt); var_dump($z);
based on VAPke
Output for 4.3.0 - 7.1.0
15.5hello world.15.5int(5) float(10.5) string(11) "hello world" float(15.5)