preg_replace('/([\s\S]*)\.(jpg|gif|png|jpeg)/i','${1}_sst.${2}',$photo[0][0]['pic']);    替换路径