Replace preg_replace() /e modifier with preg_replace_callback() (Bug #11943).