[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: die is not a function (#2218)
From:       Kamil Tekiela via GitHub <noreply () php ! net>
Date:       2023-01-19 10:14:37
Message-ID: IaZoCj0VpQa9NwPVGJbpqSIAjPICWd5JiokjTLtyI () main ! php ! net
[Download RAW message or body]

Author: Kamil Tekiela (kamil-tekiela)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2023-01-19T10:01:59Z

Commit: https://github.com/php/doc-en/commit/23906aa9f613d0f67538e4292b220cebf624d5f2
Raw diff: https://github.com/php/doc-en/commit/23906aa9f613d0f67538e4292b220cebf624d5f2.diff


die is not a function (#2218)

Changed paths:
  M  reference/errorfunc/functions/set-error-handler.xml


Diff:

diff --git a/reference/errorfunc/functions/set-error-handler.xml \
b/reference/errorfunc/functions/set-error-handler.xml index 3a250f0e181..162d12321cb \
                100644
--- a/reference/errorfunc/functions/set-error-handler.xml
+++ b/reference/errorfunc/functions/set-error-handler.xml
@@ -34,8 +34,8 @@
    appropriately.
   </para>
   <para>
-   Also note that it is the handler's responsibility to call the
-   <function>die</function> function if necessary. If the error-handler
+   Also note that it is the handler's responsibility to stop the
+   script's execution if necessary by calling <function>exit</function>. If the \
error-handler  function returns, script execution will continue with the next \
statement  after the one that caused an error.
   </para>

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic