Is there a nice way to iterate on the characters of a string? I\'d like to be able to do foreach, array_map, array_walk, array_
foreach
array_map
array_walk
array_
Expanded from @SeaBrightSystems answer, you could try this:
$s1 = "textasstringwoohoo"; $arr = str_split($s1); //$arr now has character array