3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=5; $y=10.50; $txt="hello world"; $z=$x+$y; $cars=array("bmw","audi","benz"); echo $z; print "$txt.$z"; var_dump($x); var_dump($y); var_dump($txt); var_dump($z); var_dump($cars);
Output for git.master, git.master_jit, rfc.property-hooks
15.5hello world.15.5int(5) float(10.5) string(11) "hello world" float(15.5) array(3) { [0]=> string(3) "bmw" [1]=> string(4) "audi" [2]=> string(4) "benz" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
39.48 ms | 401 KiB | 8 Q