我正试着打电话
echo bintohex(random_bytes(30));
Run Code Online (Sandbox Code Playgroud)
但我的日志显示
PHP Fatal error: Call to undefined function bintohex()
Run Code Online (Sandbox Code Playgroud)
PHP 5.6.17
Apache 2.2.15
CentOS 6.7
Mcrypt 2.5.8 (在phpinfo()页面上安装和验证)
extension = mcrypt.so (present)
任何想法为什么我找不到bintohex()或random_bytes()函数?