001+ Warning: Uncaught Error: Call to undefined function foo() in %s/exceptions_002.php:16
002+ Stack trace:
003+ #0 %s/exceptions_002.php(18): {closure}()
004+ #1 {main}
005+ thrown in %s/exceptions_002.php on line 16
006+
007+ Fatal error: Allowed memory size of 134217728 bytes exhausted at /root/app/php-7.0.0beta2/sapi/phpdbg/phpdbg.c:1195 (tried to allocate 1085071559 bytes) in %s/exceptions_002.php on line 16
008+ [Caught exit/error from VM]
009+ [Script ended normally]
001- [Successful compilation of %s]
002- prompt> handle first
003- [Uncaught Error in %s on line 16: Call to undefined function foo()]
004- >00016: foo(); // Error
005- 00017: } catch (\Exception $e) {
006- 00018: var_dump($e);
010- #0 %s(16): unknown()
011- #1 %s(18): {closure}()
012- #2 {main}
013+ #0 {main}
014- prompt> Uncaught Error in %s on line 16
015- Error: Call to undefined function foo() in %s:16
016- Stack trace:
017- #0 %s(18): {closure}()
018- #1 {main}
019- [Script ended normally]
020- prompt> [The stack contains nothing !]
015+ prompt> [Not running]
016+ prompt> [Not running]