cleaner alphabet array in php -
i'm creating array of alphabet letters.. it's cluttering code , doesn't readability. php have cleaner way or function returns alphabet in array?
array ('a','b','c','d','e','f','g'..........................................);
you can use range function used create array containing range of elements:
$alpha = range('a', 'z');
Comments
Post a Comment