Arquivos
hhvm/hphp/test/quick/exception_destructor_4.php.expectf
T
Paul Tarjan ebf437281c Don't escape exception error messages in command line mode
The main impetuous was "\" is the namespace character, so I want namespace errors to not have double backslashes everywhere.

After finding that, it turned out we were escaping all exceptions in the command line, which is wrong. We only want the escaping when we are in server mode (emulating apache)

I basically pushed what we were doing in ##error_log## down to ##Logger::Log##.
2013-05-30 17:39:24 -07:00

13 linhas
430 B
Plaintext

Calling main()
main() starting
Calling foo()
Calling bar()
Throwing in bar()
In ExitDestruct::__destruct()
HipHop Fatal error: Uncaught exception 'Exception' with message 'Exception from bar()' in %s/test/quick/exception_destructor_4.php:40
Stack trace:
#0 %s/test/quick/exception_destructor_4.php(46): bar()
#1 %s/test/quick/exception_destructor_4.php(63): foo()
#2 %s/test/quick/exception_destructor_4.php(75): main()
#3 {main}