phppublic function getrepairsql$sql$replacement $count=substr_count$sql; $pattern = array_fill0$count; foreach $replacement as $k=$v if!is_int$v $replacement$k=$v; $res = preg_replace$pattern $repla
将 $pattern = array_fill(0,$count,'//?/'); 改为 $pattern = array_fill(0,$count,'/?/'); 即可。
原文地址: https://www.cveoy.top/t/topic/JIJ 著作权归作者所有。请勿转载和采集!