Php String to Array
I want to build an array from a single word using PHP:
If the word is: linux I want the array to be: Array ( [0] => l [1] => i [2] => n [3] => u [4] => x ) Is there a simple way to do this in php? |
PHP Code:
|
Thank you! That is exactly what I needed. str_split()
|
All times are GMT -5. The time now is 04:06 PM. |