From: Anatol Belski Date: Mon, 20 Oct 2014 13:53:32 +0000 (+0200) Subject: initialize lineno before calling compile file file in phar X-Git-Tag: php-5.5.19RC1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37d5a2b18febc07088b15f06c6e5cc73eca782a0;p=php initialize lineno before calling compile file file in phar --- 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;