Preg_match给出一个匹配.Preg_match_all返回所有匹配项.Preg_split返回所有拆分.
我怎么才能分开第一场比赛?
例:
使preg_split( "〜\ N〜",$字符串);
这就是我要的:
array(0 =>'first piece',1 =>'其余的字符串,没有任何进一步的拆分')
php arrays preg-split
arrays ×1
php ×1
preg-split ×1