3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v = '<html'; echo "XXX v is"; echo "len ".strlen($v)."\n"; echo substr($v,1)."\n "; echo ord($v[0])."\n "; echo $v."\n "; flush(); echo "echoing done\n"; echo "vd1\n"; echo "vd2\n"; var_dump($v); echo "AFTER\n";
Output for git.master, git.master_jit, rfc.property-hooks
XXX v islen 5 html 60 <html echoing done vd1 vd2 string(5) "<html" AFTER

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:
72.25 ms | 401 KiB | 8 Q