Original jpgraph library sets own exception handler globally. This behavior is unwanted under test environments (like phpunit). This version added MtJpGraph::setSkipExceptionHandler()
method to be able to disable that exception handler juggling. It is being set to true
if phpunit environment was detected and stays false
in production.
Thanks to @oleibman for ideas and tests.
P.S.: Happy New year to all graph makers! 👍