'e' option in preg_replace is deprecated. use preg_replace_callback instead.