/dev/urandomis not accessible to PHP, skip mcrypt (which just fails before giving OpenSSL a chance and was morally equivalent to not offering OpenSSL at all).
/dev/urandomis readable) otherwise you're relying on OpenSSL.
open_basedirwarnings by detecting this configuration setting. (Thanks @oucil for reporting this.)
MCRYPT_CREATE_IVconstant, I meant to write
Please login to add feedback.