PHP >=5.5 deprecates the /e modifier for preg_replace, preg_replace_callback should be used instead