All pastes #550730 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-08 14:51 UTC
rendered paste body
$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;