3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myString = "14f05000034e69"; $newArray = array(); for ($index=0; $index<strlen($myString)-1; $index+=2) { $newArray[] = $myString[$index+1]; $newArray[] = $myString[$index]; } print_r($newArray);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 4 [1] => 1 [2] => 0 [3] => f [4] => 0 [5] => 5 [6] => 0 [7] => 0 [8] => 3 [9] => 0 [10] => e [11] => 4 [12] => 9 [13] => 6 )

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