I have a string $text_arr="101104105106109111112113114116117120122123124"
fairly big string
If i want to split three numbers from them like 101,104,105
and store them in $array
.What should i do?
I tried doing this:
preg_match_all('/[0-9]{3}$/',"$text_arr",$array);
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…