cvs: ZendEngine2 / zend_closures.c

[email protected] ("Pierre-Alain Joye")
Newsgroups php.zend-engine.cvs
Message-ID <cvspajoye1230861141@cvsserver>
pajoye		Fri Jan  2 01:52:21 2009 UTC

  Modified files:              
    /ZendEngine2	zend_closures.c 
  Log:
  - MFB: fix build (declaration first please)
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_closures.c?r1=1.18&r2=1.19&diff_format=u
Index: ZendEngine2/zend_closures.c
diff -u ZendEngine2/zend_closures.c:1.18 ZendEngine2/zend_closures.c:1.19
--- ZendEngine2/zend_closures.c:1.18	Thu Jan  1 16:21:07 2009
+++ ZendEngine2/zend_closures.c	Fri Jan  2 01:52:21 2009
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_closures.c,v 1.18 2009/01/01 16:21:07 helly Exp $ */
+/* $Id: zend_closures.c,v 1.19 2009/01/02 01:52:21 pajoye Exp $ */
 
 #include "zend.h"
 #include "zend_API.h"
@@ -254,9 +254,11 @@
 	}
 
 	if (arg_info) {
+		zend_uint i, required = closure->func.common.required_num_args;
+
 		MAKE_STD_ZVAL(val);
 		array_init(val);
-		zend_uint i, required = closure->func.common.required_num_args;
+
 		for (i = 0; i < closure->func.common.num_args; i++) {
 			char *name, *info;
 			int name_len, info_len;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.