$contents=str_replace(array("\r","\n"," "),'',$contents);//字符串替换
$contents=preg_replace($mode,"", $contents);//正则替换
$arr=explode("BEGIN:VCARD",$contents);//字符串分割
preg_match_all($mode_name, $contents,$arr_name);//字符串全匹配
$mode_place="/\s*/";//正则匹配模式
foreach($arr_ones[0] as $value) {}//foreach循环
count($matchs);//数组长度
$contents=preg_replace($mode,"", $contents);//正则替换
$arr=explode("BEGIN:VCARD",$contents);//字符串分割
preg_match_all($mode_name, $contents,$arr_name);//字符串全匹配
$mode_place="/\s*/";//正则匹配模式
foreach($arr_ones[0] as $value) {}//foreach循环
count($matchs);//数组长度