PHP 5.4 Compatibility

Use of e-modifier in preg_replace is deprecated, use preg_replace_callback instead