PHP convert string to array

后端 未结 6 1990
南方客
南方客 2020-12-10 12:54

How can I convert a string to an array? For instance, I have this string:

$str = \'abcdef\';

And I want to get:

array(6) {
         


        
6条回答
提交回复
热议问题