mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
fix 5_3 build
This commit is contained in:
parent
cce5140cf3
commit
271e0394d7
@ -515,7 +515,7 @@ PHP_METHOD(Phar, webPhar)
|
||||
ZVAL_STRINGL(params, entry, entry_len, 1);
|
||||
zp[0] = ¶ms;
|
||||
|
||||
if (FAILURE == zend_fcall_info_init(rewrite, &fci, &fcc, NULL TSRMLS_CC)) {
|
||||
if (FAILURE == zend_fcall_info_init(rewrite, 0, &fci, &fcc, NULL, NULL TSRMLS_CC)) {
|
||||
zend_throw_exception_ex(spl_ce_RuntimeException, 0 TSRMLS_CC, "phar error: invalid rewrite callback");
|
||||
if (free_pathinfo) {
|
||||
efree(path_info);
|
||||
|
Loading…
Reference in New Issue
Block a user