I'm trying to convert a variable to an array and split each character using PHP.
So say I have a variable $name = 'John Smith';
How do I convert it to:
array('J','o','h','n',' ','S','m','i','t','h');
Notice the space between John and Smith as well.
Thank you.