日期:2014-05-17 浏览次数:20525 次
$s = '满100减50'; preg_match_all('/(\D+)(\d+)/', $s, $r); $t = array_combine($r[1], $r[2]); print_r($t);