ebf437281c
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##.
14 linhas
672 B
Plaintext
14 linhas
672 B
Plaintext
one
|
|
HipHop Warning: two() expects exactly 2 parameters, 1 given in %s/test/quick/not-enough-args.php on line 4
|
|
two
|
|
HipHop Warning: three() expects exactly 3 parameters, 1 given in %s/test/quick/not-enough-args.php on line 5
|
|
HipHop Warning: three() expects exactly 3 parameters, 2 given in %s/test/quick/not-enough-args.php on line 5
|
|
three
|
|
one
|
|
HipHop Fatal error: Uncaught exception 'Exception' with message '2, two() expects exactly 2 parameters, 1 given' in %s/test/quick/not-enough-args.php:8
|
|
Stack trace:
|
|
#0 %s/test/quick/not-enough-args.php(4): error_handler()
|
|
#1 %s/test/quick/not-enough-args.php(17): two()
|
|
#2 %s/test/quick/not-enough-args.php(20): main()
|
|
#3 {main}
|