3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urzadzenia_ilosc = 10; $zakres = '123-999'; $zakres = str_replace("-","",$zakres); echo "poczatek: ".$zakres."<br />"; $zakres_tmp = array(); for($i=0;$i<$urzadzenia_ilosc;$i++){ $zakres_tmp[] = "H-".substr($zakres, 0, 3)."-".substr($zakres, 3, 6); $zakres++; } print_r($zakres_tmp); ?>
Output for git.master, git.master_jit, rfc.property-hooks
poczatek: 123999<br />Array ( [0] => H-123-999 [1] => H-124-000 [2] => H-124-001 [3] => H-124-002 [4] => H-124-003 [5] => H-124-004 [6] => H-124-005 [7] => H-124-006 [8] => H-124-007 [9] => H-124-008 )

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