$strLen = explode("", $strVar); code example
Example 1: php split string
explode(" ","Geeks for Geeks")
Example 2: string to array php
str_split ( string $string [, int $split_length = 1 ] ) : array
explode(" ","Geeks for Geeks")
str_split ( string $string [, int $split_length = 1 ] ) : array