See Example 2 of [man]preg_split[/man]. Although of course, depending on what you're going to be using this array for (specifically, if it's only going to be read), you can just go $string{0}, $string{1}, $string{2}... or even (though this is deprecated for some reason) $string[0], $string[1], $string[2]....