preg_replace_callback modified