3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("","","","","","","","","","","","","","PHM","PHN","N","","M9",""); $filter = 8; For($i=0;$i<$filter;$i++){ If(isset($arr[$i])) unset($arr[$i]); } Var_dump($arr);
Output for git.master, git.master_jit, rfc.property-hooks
array(11) { [8]=> string(0) "" [9]=> string(0) "" [10]=> string(0) "" [11]=> string(0) "" [12]=> string(0) "" [13]=> string(3) "PHM" [14]=> string(3) "PHN" [15]=> string(1) "N" [16]=> string(0) "" [17]=> string(2) "M9" [18]=> string(0) "" }

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:
134.58 ms | 406 KiB | 5 Q