How can I convert a string to an array? For instance, I have this string:
$str = \'abcdef\';
And I want to get:
array(6) {
Other solution:
$string = 'abcdef'; $arr = []; for($i=0;$i