diff options
| author | Andi Gutmans <andi@php.net> | 2002-01-06 20:30:41 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2002-01-06 20:30:41 +0000 |
| commit | b9355b9a11a838f12b9084c1292567bd76226b2e (patch) | |
| tree | fb95c1534eefe1f79e92bac12fd81b71d341af54 | |
| parent | ce82f6261a37f1137c3595b18141f3335449a2fc (diff) | |
| download | php-git-b9355b9a11a838f12b9084c1292567bd76226b2e.tar.gz | |
- Output error when there's an uncaught exception (by Timm Friebe)
| -rw-r--r-- | Zend/zend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index e976a1740d..ecbb4d828b 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -824,6 +824,7 @@ ZEND_API int zend_execute_scripts(int type TSRMLS_DC, zval **retval, int file_co zend_execute(EG(active_op_array) TSRMLS_CC); if (EG(exception)) { zval_ptr_dtor(&EG(exception)); + zend_error(E_ERROR, "Uncaught exception!"); } else if (!retval) { zval_ptr_dtor(EG(return_value_ptr_ptr)); local_retval = NULL; |
