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 $key => $temp) { if ($temp === 'a') unset($numbers[$key]); } print_r($numbers);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 8 [1] => 2 [2] => 3 [3] => 4 [7] => 9 [8] => 8 [10] => 4 [15] => 4 [19] => 3 [20] => 2 [21] => 8 [22] => 9 [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:
40.95 ms | 401 KiB | 8 Q