Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 4 years ago.
I'm trying to call
echo bintohex(random_bytes(30));
But my logs show
PHP Fatal error: Call to undefined function bintohex()
PHP 5.6.17
Apache 2.2.15
CentOS 6.7
Mcrypt 2.5.8 (installed and verified on phpinfo() page)
extension=mcrypt.so (present)
Any ideas why I can't find bintohex() or random_bytes() functions?