3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = '8234jfr98j4fnui4hfj3289rj8'; $numbers = preg_replace('/[a-z]/si', 'a', $hash); $numbers = str_split($numbers); foreach ($numbers as &$temp) { if ($temp === 'a') unset($temp); } print_r($numbers);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 8 [1] => 2 [2] => 3 [3] => 4 [4] => a [5] => a [6] => a [7] => 9 [8] => 8 [9] => a [10] => 4 [11] => a [12] => a [13] => a [14] => a [15] => 4 [16] => a [17] => a [18] => a [19] => 3 [20] => 2 [21] => 8 [22] => 9 [23] => a [24] => a [25] => 8 )

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