diff options
Diffstat (limited to 'ext/phar/phar_object.c')
-rw-r--r-- | ext/phar/phar_object.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 06f8bebf18..644b45860f 100644 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -1144,7 +1144,7 @@ PHP_METHOD(Phar, loadPhar) RETVAL_BOOL(phar_open_from_filename(fname, fname_len, alias, alias_len, REPORT_ERRORS, NULL, &error TSRMLS_CC) == SUCCESS); if (error) { - zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "%s", error); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, error); efree(error); } } /* }}} */ @@ -5484,7 +5484,7 @@ zend_function_entry php_archive_methods[] = { PHP_ME(Phar, mungServer, arginfo_phar_mungServer, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL) PHP_ME(Phar, unlinkArchive, arginfo_phar_ua, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL) PHP_ME(Phar, webPhar, arginfo_phar_webPhar, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL) - {NULL, NULL, NULL} + PHP_FE_END }; #if HAVE_SPL @@ -5514,12 +5514,12 @@ zend_function_entry php_entry_methods[] = { PHP_ME(PharFileInfo, isCompressed, arginfo_phar_compo, ZEND_ACC_PUBLIC) PHP_ME(PharFileInfo, isCRCChecked, arginfo_phar__void, ZEND_ACC_PUBLIC) PHP_ME(PharFileInfo, setMetadata, arginfo_phar_setMetadata, ZEND_ACC_PUBLIC) - {NULL, NULL, NULL} + PHP_FE_END }; #endif /* HAVE_SPL */ zend_function_entry phar_exception_methods[] = { - {NULL, NULL, NULL} + PHP_FE_END }; /* }}} */ |