how to split a string of text and number in php code example Example: character split php str_split ( string $string [, int $split_length = 1 ] ) : array