diff options
author | Marcus Boerger <helly@php.net> | 2006-05-10 00:00:13 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2006-05-10 00:00:13 +0000 |
commit | 77c1b56cd759b8fd819976a5aa7c40b5268a81f4 (patch) | |
tree | 068e4b951e7551359e9f8fc978fa24633f7097d8 /sapi/cli/php_cli.c | |
parent | 11f26c2c2a3f41863347fcabddd6f1097518ce99 (diff) | |
download | php-git-77c1b56cd759b8fd819976a5aa7c40b5268a81f4.tar.gz |
- Update after api changes
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index e83a9728a1..3696a21566 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -1220,7 +1220,7 @@ int main(int argc, char *argv[]) zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, arg); if (EG(exception)) { - zval *msg = zend_read_property(zend_exception_get_default(), EG(exception), "message", sizeof("message")-1, 0 TSRMLS_CC); + zval *msg = zend_read_property(zend_exception_get_default(TSRMLS_C), EG(exception), "message", sizeof("message")-1, 0 TSRMLS_CC); zend_printf("Exception: %s\n", Z_STRVAL_P(msg)); zval_ptr_dtor(&EG(exception)); EG(exception) = NULL; |