Fixed preg_replace /e function call for php 5.4