Someone
public text v1 · immutable$routeExtra = array('index');
$max = count($routeExtra);
for($i = 0; $i < $max; $i++):
if(preg_match('/[a-z]/', 'index') == 0):
unset($routeExtra[$i]);
else:
$route[] = $routeExtra;
endif;
endfor;
$routeExtra = array('index');
$max = count($routeExtra);
for($i = 0; $i < $max; $i++):
if(preg_match('/[a-z]/', 'index') == 0):
unset($routeExtra[$i]);
else:
$route[] = $routeExtra;
endif;
endfor;