老师 这样做对吗
来源:1-38 编程练习
weixin_慕姐0507771
2019-03-28 14:09:41
<?php
header('content-type:text/html;charset=utf-8');
$str='pig#cat$dog#duck#horse&monkey';
$str1= str_replace('$','#',$str);
$str2=str_replace('&','#',$str1);
$str3=(explode('#',$str2));
print_r($str3);
1回答
好帮手慕查理
2019-03-28
您好,正确哦~继续加油!
相似问题