没有对象,就想着New一个对象出来
4.$m = “phpshishijieshangzuihaodeyuyan”,编程实现:将字符串分割为单个字符存放到一个数组中,并打印数组?
$m='phpshishijieshangzuihaodeyuyan';
echo $res=trim(chunk_split($m,1,'.'),',');
$arr1=explode(',',$res);
var_dump($arr1);