turn string into array php code example
Example 1: string to array in php
print_r(explode(',',$yourstring));
Example 2: php split string
explode(" ","Geeks for Geeks")
Example 3: string to array php
str_split ( string $string [, int $split_length = 1 ] ) : array