cvs: pear /CodeGen_PECL/PECL/Element Function.php
| From: | Hartmut Holzgraefe | Date: | Sat, 11 Nov 2006 20:31:16 +0000 |
| Subject: | cvs: pear /CodeGen_PECL/PECL/Element Function.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-43043@lists.php.net to get a copy of this message | ||
hholzgra Sat Nov 11 20:31:16 2006 UTC
Modified files:
/pear/CodeGen_PECL/PECL/Element Function.php
Log:
array ARG_INFO code generation fixed
http://cvs.php.net/viewvc.cgi/pear/CodeGen_PECL/PECL/Element/Function.php?r1=1.43&r2=1.44&diff_format=u
Index: pear/CodeGen_PECL/PECL/Element/Function.php
diff -u pear/CodeGen_PECL/PECL/Element/Function.php:1.43
pear/CodeGen_PECL/PECL/Element/Function.php:1.44
--- pear/CodeGen_PECL/PECL/Element/Function.php:1.43 Wed Oct 18 01:25:26 2006
+++ pear/CodeGen_PECL/PECL/Element/Function.php Sat Nov 11 20:31:15 2006
@@ -15,7 +15,7 @@
* @author Hartmut Holzgraefe <hartmut@php.net>
* @copyright 2005, 2006 Hartmut Holzgraefe
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Function.php,v 1.43 2006/10/18 01:25:26 hholzgra Exp $
+ * @version CVS: $Id: Function.php,v 1.44 2006/11/11 20:31:15 hholzgra Exp $
* @link http://pear.php.net/package/CodeGen
*/
@@ -1496,10 +1496,9 @@
break;
case 'array':
$code.= "#if (PHP_MINOR_VERSION > 0)\n";
- $code.= sprintf(" ZEND_ARG_ARRAY_INFO(%d, %s, %s, %d)\n",
+ $code.= sprintf(" ZEND_ARG_ARRAY_INFO(%d, %s, %d)\n",
isset($param["byRef"]),
$param["name"],
- $param["subtype"],
1 /*allow NULL*/);
$code.= "#else\n";
$code.= sprintf(" ZEND_ARG_INFO(%d, %s)\n",