[php5] preg_replace with /e option is deprecated in php5.5