Support for custom post types was added to url_to_postid() in WordPress 3.7. According to its docs and the site where it came from, fm_url_to_post_id() was intended to work around the previous lack of support for CPTs.
Can the function be deprecated, or are there features fm_url_to_post_id() supports that that I'm overlooking?