<i id='LWrw8'><tr id='LWrw8'><dt id='LWrw8'><q id='LWrw8'><span id='LWrw8'><b id='LWrw8'><form id='LWrw8'><ins id='LWrw8'></ins><ul id='LWrw8'></ul><sub id='LWrw8'></sub></form><legend id='LWrw8'></legend><bdo id='LWrw8'><pre id='LWrw8'><center id='LWrw8'></center></pre></bdo></b><th id='LWrw8'></th></span></q></dt></tr></i><div id='LWrw8'><tfoot id='LWrw8'></tfoot><dl id='LWrw8'><fieldset id='LWrw8'></fieldset></dl></div>
        <bdo id='LWrw8'></bdo><ul id='LWrw8'></ul>
      <tfoot id='LWrw8'></tfoot>

        <small id='LWrw8'></small><noframes id='LWrw8'>

      1. <legend id='LWrw8'><style id='LWrw8'><dir id='LWrw8'><q id='LWrw8'></q></dir></style></legend>

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

        bintohex() and random_bytes() functions are undefined in PHP 5.6 on Linux(bintohex() 和 random_bytes() 函数在 Linux 上的 PHP 5.6 中未定义)
          <bdo id='pMMU9'></bdo><ul id='pMMU9'></ul>

              <legend id='pMMU9'><style id='pMMU9'><dir id='pMMU9'><q id='pMMU9'></q></dir></style></legend>
            1. <tfoot id='pMMU9'></tfoot>

              • <i id='pMMU9'><tr id='pMMU9'><dt id='pMMU9'><q id='pMMU9'><span id='pMMU9'><b id='pMMU9'><form id='pMMU9'><ins id='pMMU9'></ins><ul id='pMMU9'></ul><sub id='pMMU9'></sub></form><legend id='pMMU9'></legend><bdo id='pMMU9'><pre id='pMMU9'><center id='pMMU9'></center></pre></bdo></b><th id='pMMU9'></th></span></q></dt></tr></i><div id='pMMU9'><tfoot id='pMMU9'></tfoot><dl id='pMMU9'><fieldset id='pMMU9'></fieldset></dl></div>

                <small id='pMMU9'></small><noframes id='pMMU9'>

                  <tbody id='pMMU9'></tbody>

                • 本文介绍了bintohex() 和 random_bytes() 函数在 Linux 上的 PHP 5.6 中未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在打电话

                  echo bintohex(random_bytes(30));
                  

                  但我的日志显示

                  PHP Fatal error:  Call to undefined function bintohex()
                  

                  PHP 5.6.17
                  阿帕奇 2.2.15
                  CentOS 6.7
                  Mcrypt 2.5.8 (在 phpinfo() 页面上安装并验证)
                  extension=mcrypt.so (现在)

                  知道为什么我找不到 bintohex() 或 random_bytes() 函数吗?

                  Any ideas why I can't find bintohex() or random_bytes() functions?

                  推荐答案

                  因为它bin2hex http://php.net/manual/en/function.bin2hex.php 不是bintohex"

                  Because it bin2hex http://php.net/manual/en/function.bin2hex.php not "bintohex"

                  random_bytes 根据文档 http://php.net/random_bytes 基本上只存在于 PHP 7 但这里是 5.x 版本的 polyfill https://github.com/paragonie/random_compat

                  random_bytes basically exist only in Php 7 according to docs http://php.net/random_bytes but here is polyfill to 5.x version https://github.com/paragonie/random_compat

                  这篇关于bintohex() 和 random_bytes() 函数在 Linux 上的 PHP 5.6 中未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                    <tbody id='TPP3N'></tbody>

                    <bdo id='TPP3N'></bdo><ul id='TPP3N'></ul>

                        <i id='TPP3N'><tr id='TPP3N'><dt id='TPP3N'><q id='TPP3N'><span id='TPP3N'><b id='TPP3N'><form id='TPP3N'><ins id='TPP3N'></ins><ul id='TPP3N'></ul><sub id='TPP3N'></sub></form><legend id='TPP3N'></legend><bdo id='TPP3N'><pre id='TPP3N'><center id='TPP3N'></center></pre></bdo></b><th id='TPP3N'></th></span></q></dt></tr></i><div id='TPP3N'><tfoot id='TPP3N'></tfoot><dl id='TPP3N'><fieldset id='TPP3N'></fieldset></dl></div>
                      1. <tfoot id='TPP3N'></tfoot>

                            <small id='TPP3N'></small><noframes id='TPP3N'>

                          • <legend id='TPP3N'><style id='TPP3N'><dir id='TPP3N'><q id='TPP3N'></q></dir></style></legend>