时间:2021-07-01 10:21:17 帮助过:40人阅读
$char = "111112222233333";
preg_match_all("|(.*)|U", $char, $out,PREG_PATTERN_ORDER);
echo $out[0][0];
echo $out[0][1];
echo $out[0][2];
$char = "111112222233333";
preg_match_all("
------解决方案--------------------
(.*)
------解决方案--------------------
U", $char, $out,PREG_PATTERN_ORDER);
shuffle($out[0]);
$s= join('',$out[0]);
echo $s;