摘要: 1.数组与字符串之间的相互转换。 (1)数组转为字符串 $array = ['1','2','3','4']; $str = implode(",",$array ); dump($str); (2)有分割号的字符串转为数组 $str = '1,2,3,4,5'; $result = explode 阅读全文
posted @ 2018-04-11 09:39 丶长情 阅读(118) 评论(0) 推荐(0) 编辑