summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2015-07-03 09:45:03 -0500
committerAaron Piotrowski <aaron@trowski.com>2015-07-03 09:45:03 -0500
commited1b64877d82af71bc64a48bf914046640e8a270 (patch)
tree914694f44a90a8a76656e76f3fe0c89fdbd25b89 /sapi/cli/php_cli.c
parenta812a74c2e60a0ba080057067a7634e4da3f2b9b (diff)
downloadphp-git-ed1b64877d82af71bc64a48bf914046640e8a270.tar.gz
Switch position of ce in exception ce variable names
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index c1bfc74d99..3b2bed8538 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_ce, &tmp, "message", sizeof("message")-1, 0, &rv);
+ msg = zend_read_property(zend_ce_exception, &tmp, "message", sizeof("message")-1, 0, &rv);
zend_printf("Exception: %s\n", Z_STRVAL_P(msg));
zval_ptr_dtor(&tmp);
EG(exception) = NULL;