3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = '8234jfr98j4fnui4hfj3289rj8'; $numbers = preg_replace('/[a-z]/si', 'a', $hash); $numbers = explode('a', $numbers); print_r($numbers);
Output for 4.3.0 - 7.1.0
Array ( [0] => 8234 [1] => [2] => [3] => 98 [4] => 4 [5] => [6] => [7] => [8] => 4 [9] => [10] => [11] => 3289 [12] => [13] => 8 )