Does a call to trigger_error ever return?
| From: | Peter West | Date: | Sat, 26 Oct 2013 08:43:59 +0000 |
| Subject: | Does a call to trigger_error ever return? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-322384@lists.php.net to get a copy of this message | ||
As it says. I'm a complete php nube, but form what I can see, and from some tests of interactive php, trigger_error is effectively an exit from the flow of control. (I'm not sure where it exits to, or how it can be made to change its mind.)
So I need to confirm whether I have the right end of the stick, and I need to know, especially, if I ever need to provide for a return from trigger_error in the flow of code.