com php-src: uint32_t: Zend/zend_compile.c

From: Date: Fri, 20 Feb 2015 17:19:07 +0000
Subject: com php-src: uint32_t: Zend/zend_compile.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85034@lists.php.net to get a copy of this message
Commit: 09ac3e931cc65511114fad95aa778305c5bf6794 Author: Xinchen Hui <laruence@php.net> Sat, 21 Feb 2015 01:19:07 +0800 Parents: b3be3c5b17e4da1ecfecdb608cce7ceeb176fc43 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=09ac3e931cc65511114fad95aa778305c5bf6794 Log: uint32_t Changed paths: M Zend/zend_compile.c Diff: diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index dae1348..9db4f28 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3804,12 +3804,11 @@ void zend_compile_declare(zend_ast *ast) /* {{{ */ ZVAL_COPY_VALUE(&CG(declarables).ticks, &value_zv); zval_dtor(&value_zv); } else if (zend_string_equals_literal_ci(name, "encoding")) { + uint32_t i = 0; + zend_bool valid = 0; /* Encoding declaration was already handled during parsing. Here we * only check that it is the first statement in the file. */ zend_ast_list *file_ast = zend_ast_get_list(CG(ast)); - - size_t i = 0; - zend_bool valid = 0; /* Check to see if this declare is preceeded only by declare statements */ while (valid == 0 && i < file_ast->children) {

« previous php.cvs (#85034) next »