订单号批量搜索

$batch_order_number = str_replace(array("\r", "\n", "\r\n",'</br>'), ',', $batch_order_number);
$order_numbers = explode(',', $batch_order_number);
$order_numbers = array_map(function($v){return preg_replace("/(\s|\&nbsp\;| |\xc2\xa0)/", "", strip_tags($v));},$order_numbers);

posted @ 2018-08-29 14:41  loweringye  阅读(393)  评论(0编辑  收藏  举报