Phalanger Fix
Phalanger Fix

While mcrypt_create_iv and MCRYPT_DEV_URANDOM are both available in
Phalanger, when used it will generate a warning stating that the file
(/dev/urandom) cannot be read from.

The !$buffer_valid check would catch this, however there would still be
a warning generated every time a password was hashed.

In my opinion it is best to check if Phalanger is being used, and
prevent this path from executing in the first place.

baegjins/password_compat,shirone/password_compat,jemmeliCss/password_compat,Choockas/password_compat,yadercenteno/password_compat,ircmaxell/password_compat,suitux/password_compat,samadsajanlal/password_compat,Shea690901/password_compat,adduc/password_compat,mitschool/password_compat