Swap usage of preg_replace with deprecated modifier /e by preg_replace_callback().