Fixed: Use of /e modifier in preg_replace is deprecated in PHP 5.5.

preg_replace_callback() is used instead.