From a812a74c2e60a0ba080057067a7634e4da3f2b9b Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Fri, 3 Jul 2015 09:44:48 -0500 Subject: Change zend_exception_get_default() to zend_exception_ce --- sapi/cli/php_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/cli/php_cli.c') diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index e48481dd0c..c1bfc74d99 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -1090,7 +1090,7 @@ static int do_cli(int argc, char **argv) /* {{{ */ zval tmp, *msg, rv; ZVAL_OBJ(&tmp, EG(exception)); - msg = zend_read_property(zend_exception_get_default(), &tmp, "message", sizeof("message")-1, 0, &rv); + msg = zend_read_property(zend_exception_ce, &tmp, "message", sizeof("message")-1, 0, &rv); zend_printf("Exception: %s\n", Z_STRVAL_P(msg)); zval_ptr_dtor(&tmp); EG(exception) = NULL; -- cgit v1.2.1