- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16, 7.0.0
- Parse error: syntax error, unexpected 'set_exception_handler' (T_STRING) in /in/OnHBj on line 3
Process exited with code 255.
<?php
ini_set('hhvm.log.always_log_unhandled_exceptions', false)
set_exception_handler( function ($exception) {
error_log("handling $exception");
});
throw new Exception("I'm an exception");