str_replace any number について少し問題があります...
$jud='Briney Spears 12 2009';
$jud=str_replace(array('2007','2008','2009','2010','2011','2012'),'2013',$jud);
$jud=str_replace(array('0'),'',$jud);
$jud=str_replace(array('1'),'By',$jud);
$jud=str_replace(array('2'),'Gun',$jud);
$jud=str_replace(array('3'),'Fast',$jud);
echo $jud ;
結果は
ブライニー・スピアーズ ByGun GunByFast
誰でも助けることができますか?「 Briney Spears ByGun 2013」の結果を探しています。ありがとう