$begintime=str_replace("-", "","2014-03-05"); (需要替换的字符串,换成字符串,需要被替换的字符串)
输出:20140305
http://www.bkjia.com/PHPjc/738507.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/738507.htmlTechArticle$begintime=str_replace("-", "","2014-03-05"); (需要替换的字符串,换成字符串,需要被替换的字符串) 输出:20140305...