Re: Exception::getLine()
| From: | S.A.N | Date: | Tue, 24 May 2016 18:53:20 +0000 |
| Subject: | Re: Exception::getLine() | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93489@lists.php.net to get a copy of this message | ||
+1
There is use case - exception without backtrace, used to global return.
Example REST API
throw new RedirectExeception('/url', 302); // creating in backtrace is overhead