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
Tejas Manohar edited this page Feb 28, 2015
·
1 revision
Boris doesn't display exceptions or errors when running in my app?
Boris honours your environment. If your application has error handlers
installed, they will mask the error. Likewise, if an exception handler is
installed, you won't see a backtrace (unless your exception handler displays it).
Since Boris is much more useful when you can see errors in the console, the best
thing to do is to disable any exception/error handlers when your application
is running inside of Boris.
What about PHP's interactive mode?
PHP's interactive mode does not print the result of evaluating expressions and
more importantly, it exits if you type something that produces a fatal error,
such as invoking a function/method that does not exist, or an uncaught
exception. Boris is designed to be robust, like other REPLs, so you can
experiment with things that you know may error, without losing everything.