1. <small id='cYqLL'></small><noframes id='cYqLL'>

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

      <legend id='cYqLL'><style id='cYqLL'><dir id='cYqLL'><q id='cYqLL'></q></dir></style></legend>
    2. <tfoot id='cYqLL'></tfoot>

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

        通知和警告之间的 PHP 区别

        时间:2023-09-21

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

                  <tbody id='LCqkP'></tbody>

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

                1. <tfoot id='LCqkP'></tfoot>
                  <i id='LCqkP'><tr id='LCqkP'><dt id='LCqkP'><q id='LCqkP'><span id='LCqkP'><b id='LCqkP'><form id='LCqkP'><ins id='LCqkP'></ins><ul id='LCqkP'></ul><sub id='LCqkP'></sub></form><legend id='LCqkP'></legend><bdo id='LCqkP'><pre id='LCqkP'><center id='LCqkP'></center></pre></bdo></b><th id='LCqkP'></th></span></q></dt></tr></i><div id='LCqkP'><tfoot id='LCqkP'></tfoot><dl id='LCqkP'><fieldset id='LCqkP'></fieldset></dl></div>
                  本文介绍了通知和警告之间的 PHP 区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  在编写代码错误时,可能会出现警告和通知.我知道错误背后的想法.我想有一个警告是为了通知您可能导致错误的事情,但通知不一样吗?我想通知不是做正确事情的消息;)

                  When writing code errors, warnings and notices can occur. I know the idea behind errors. I suppose a warning is there to inform you about something that can cause an error, but isn't a notice exaclty the same? I suppose a notice is not a message of something doing right ;).

                  这让我有点困惑.谁能说出这两者之间的区别以及应如何处理这些消息.

                  It's just a bit confusing to me. Can anybody tell the difference between those two and the way these messages should be treated.

                  推荐答案

                  通知是一条咨询消息,意思是你可能不应该做你正在做的事情,但无论如何我会让你做"

                  A notice is an advisory message meaning "You probably shouldn't be doing what you're doing, but I'll let you do it anyway"

                  警告是一条消息,表示您做错了一些事情,很可能在未来导致错误,所以请修复它."

                  A warning is a message saying "You are doing something wrong and it is very likely to cause errors in the future, so please fix it."

                  通知和警告都不会停止您的脚本的执行,尽管我鼓励您认真对待它们并努力在您的应用中没有任何通知.

                  Both notices and warnings will not halt execution of your script, although I would encourage you to take them seriously and strive to have not even one notice in your apps.

                  这篇关于通知和警告之间的 PHP 区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:PHP中变量名前的'At'符号:@$_POST 下一篇:PHP DOMDocument 错误处理

                  相关文章

                  最新文章

                  <small id='8QJsD'></small><noframes id='8QJsD'>

                  • <bdo id='8QJsD'></bdo><ul id='8QJsD'></ul>
                  1. <legend id='8QJsD'><style id='8QJsD'><dir id='8QJsD'><q id='8QJsD'></q></dir></style></legend>

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

                      <tfoot id='8QJsD'></tfoot>