park park - 11 months ago 48
PHP Question

array of hex values like range('a','z')

PHP has the function

range()
which can be used to loop through letters
a-z
. Is there something similar or a similar function that can let me loop through hex values
0-9
+
a-f
?

Answer Source
array_merge( range(0,9), range('a','f') )