diff options
author | Anatol Belski <ab@php.net> | 2014-10-20 15:53:32 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-20 15:53:32 +0200 |
commit | 37d5a2b18febc07088b15f06c6e5cc73eca782a0 (patch) | |
tree | 60197374103415f2a60c585dc09e83f09acad0c3 | |
parent | 8c9e254319fd0f15d2be8c5e410a69476e25139a (diff) | |
download | php-git-37d5a2b18febc07088b15f06c6e5cc73eca782a0.tar.gz |
initialize lineno before calling compile file file in phar
-rw-r--r-- | ext/phar/phar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/phar/phar.c b/ext/phar/phar.c index a5488937a8..cc0fad28eb 100644 --- a/ext/phar/phar.c +++ b/ext/phar/phar.c @@ -3380,6 +3380,7 @@ static zend_op_array *phar_compile_file(zend_file_handle *file_handle, int type zend_try { failed = 0; + CG(zend_lineno) = 0; res = phar_orig_compile_file(file_handle, type TSRMLS_CC); } zend_catch { failed = 1; |