[php] Using str_replace so that it only acts on the first match?