]> granicus.if.org Git - php/commitdiff
- Use zend_throw_exception_object() in throw_handler to make sure it
authorAndi Gutmans <andi@php.net>
Thu, 12 Feb 2004 10:28:33 +0000 (10:28 +0000)
committerAndi Gutmans <andi@php.net>
Thu, 12 Feb 2004 10:28:33 +0000 (10:28 +0000)
- does all the checks

Zend/zend_execute.c

index 9313ceb56a9eefc90c12417f30fd0e1e1960eade..a27ef9cf2c7d8f1c4df0c00a3824f9db0d327f92 100644 (file)
@@ -2859,7 +2859,7 @@ int zend_throw_handler(ZEND_OPCODE_HANDLER_ARGS)
        }
        INIT_PZVAL(exception);
 
-       zend_throw_exception_internal(exception TSRMLS_CC);
+       zend_throw_exception_object(exception TSRMLS_CC);
        NEXT_OPCODE();
 }