3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x=5;/* this multiline comment */ $y=10; //this is global $txt="hello"; $txt.="world"; echo $txt,"<tab> "; $cars=array("bmw","volvo","benz"); echo $cars;
based on gs30p
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
helloworld<tab> Notice: Array to string conversion in /in/PYsmd on line 8 Array
Output for 4.3.0 - 5.3.29
helloworld<tab> Array