a me continua a funzionare, sara qualche bug del PHP se nn di Apache
codice:$s = "<iban width=\"560\" height=\"315\" src=\"http://www.youtube.com/embed/oRC6Ru7uXqk\" frameborder=\"0\" allowfullscreen></iframe>"; $search = array("/width=[\"\\']?[0-9]*[\\'\"]?/si","/height=[\"\\']?[0-9]*[\\'\"]?/si"); $replace = array("width='500'","height='300'"); echo preg_replace($search,$replace,$s);