I have a number, say
number=5684398
and I want to store its digits into the fields of an array coolarray as follows:
coolarray[0]=5
coolarray[1]=6
coolarray[2]=8
coolarray[3]=4
coolarray[4]=3
coolarray[5]=9
coolarray[6]=8
How can I proceed?
str_splitto do this