SyntaxFix
Write A Post
Hire A Developer
Questions
str_split can do the trick. Note that strings in PHP can be accessed just like a chars array, in most cases, you won't need to split your string into a "new" array.
str_split