In truth, he's already broken. So this will work:
$string = 'Hello I am the string.'; echo $string[0]; // 'H'
If you specifically want to break it, you can do this:
$string = 'Hello I am the string.'; $stringarr = str_split($string);
It depends if you really need to break it or not.
source share