Is there a way to have PHP output an array of all characters available? -


is there way have php return array of available characters?

you can generate array contains list of ascii characters using range , chr functions:

// create array containing range of ascii elements.  $bytes =  range (0 , 255); $all_chars = array_map('chr', $bytes); 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -