1. <legend id='FwXE4'><style id='FwXE4'><dir id='FwXE4'><q id='FwXE4'></q></dir></style></legend>
    <tfoot id='FwXE4'></tfoot>
    <i id='FwXE4'><tr id='FwXE4'><dt id='FwXE4'><q id='FwXE4'><span id='FwXE4'><b id='FwXE4'><form id='FwXE4'><ins id='FwXE4'></ins><ul id='FwXE4'></ul><sub id='FwXE4'></sub></form><legend id='FwXE4'></legend><bdo id='FwXE4'><pre id='FwXE4'><center id='FwXE4'></center></pre></bdo></b><th id='FwXE4'></th></span></q></dt></tr></i><div id='FwXE4'><tfoot id='FwXE4'></tfoot><dl id='FwXE4'><fieldset id='FwXE4'></fieldset></dl></div>
      <bdo id='FwXE4'></bdo><ul id='FwXE4'></ul>
  2. <small id='FwXE4'></small><noframes id='FwXE4'>

    1. 如何关闭 PHP 通知?

      时间:2023-09-21

    2. <legend id='0b7z1'><style id='0b7z1'><dir id='0b7z1'><q id='0b7z1'></q></dir></style></legend>
        <tbody id='0b7z1'></tbody>

      1. <small id='0b7z1'></small><noframes id='0b7z1'>

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

                本文介绍了如何关闭 PHP 通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                Notice: Constant DIR_FS_CATALOG already defined
                

                我已经在 php.ini<中注释掉了 display_errors/code>,但不起作用.

                I've already commented out display_errors in php.ini, but is not working.

                如何让 PHP 不向浏览器输出这些东西?

                How do I make PHP to not output such things to browsers?

                更新

                我把 display_errors = Off 放在那里,但它仍然报告这样的通知,

                I put display_errors = Off there but it's still reporting such notices,

                这是 PHP 5.3 的问题吗?

                Is this an issue with PHP 5.3?

                也报告大量调用堆栈..

                推荐答案

                您可以将 display_errors 设置为 0 或使用 error_reporting() 函数.

                You can set display_errors to 0 or use the error_reporting() function.

                然而,通知很烦人(我可以部分同情)但他们服务于一个目的.你不应该定义一个常量两次,第二次将不起作用,常量将保持不变!

                However, notices are annoying (I can partly sympathize) but they serve a purpose. You shouldn't be defining a constant twice, the second time won't work and the constant will remain unchanged!

                这篇关于如何关闭 PHP 通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                    <tbody id='MbNlO'></tbody>

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

                  <legend id='MbNlO'><style id='MbNlO'><dir id='MbNlO'><q id='MbNlO'></q></dir></style></legend>
                    <bdo id='MbNlO'></bdo><ul id='MbNlO'></ul>

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