3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s=100; $_POST['ar1[]']=1; $_POST['ar2[]']=1; $_POST['ar3[]']=1; $_POST['a1']=1; $_POST['a2']=2; $_POST['a3']=3; $_POST['a4']=4; $_POST['a5']=5; $_POST['a6']=1; $_POST['a7']=1; $_POST['a8']=1; $_POST['a9']=1; $_POST['a10']=1; foreach ($_POST as $p ) { if(is_array($p)) $s+=-17; else $s-=-2; echo $p.'\n'; } if ($s!==69) die(); echo 'udalo sie 69';
Output for git.master, git.master_jit, rfc.property-hooks
1\n1\n1\n1\n2\n3\n4\n5\n1\n1\n1\n1\n1\n

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