You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I see, php.net doesn't document in what circumstances the $previous value is automatically set when the caller doesn't provide one in the Exception/Error constructor. As far as I know, that happens when new exceptions are thrown in finally blocks, in deconstructors and I guess in any other code somehow run outside of a catch block while the Throwable is still bubbling up the call stack. I expected to find that mentioned in one or more of these pages:
As far as I see, php.net doesn't document in what circumstances the
$previous
value is automatically set when the caller doesn't provide one in theException
/Error
constructor. As far as I know, that happens when new exceptions are thrown infinally
blocks, in deconstructors and I guess in any other code somehow run outside of acatch
block while theThrowable
is still bubbling up the call stack. I expected to find that mentioned in one or more of these pages:The text was updated successfully, but these errors were encountered: