How to convert a string to an array with PHP

1 · Josh Sherman · Nov. 30, 2014, midnight
Converting a string to an array is a pretty common task when programming in PHP. If you don’t know much about PHP you could easily fall into a situation where you’re manually looping through each character in a string checking for a delimiter or keeping a counter and assembling strings......