gpt4 book ai didi

php - bintohex() 和 random_bytes() 函数在 Linux 上的 PHP 5.6 中未定义

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:51:33 24 4
gpt4 key购买 nike

<分区>

我正在打电话

echo bintohex(random_bytes(30));

但是我的日志显示

PHP Fatal error:  Call to undefined function bintohex()

PHP 5.6.17
Apache 2.2.15
CentOS 6.7
Mcrypt 2.5.8 (已在 phpinfo() 页面上安装和验证)
extension=mcrypt.so (存在)

我找不到 bintohex() 或 random_bytes() 函数的任何想法?

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com