ircmaxell/password_compat — pull request #26 by johncongdon (2013-05-10 01:02:37+00:00)
Title: Fix for potential forward compatibility break.

Since this is supposed to be forward compatible. What happens if BCRYPT is pulled one day for any reason? This would break forward compatibility, but relying on PASSWORD_DEFAULT should be safe.

I think another option would be:

if ( ! function_exists('password_hash') ) {
}