cvs: pear /CodeGen_PECL/PECL/Element Function.php
| From: | Hartmut Holzgraefe | Date: | Mon, 20 Feb 2006 18:22:59 +0000 |
| Subject: | cvs: pear /CodeGen_PECL/PECL/Element Function.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38404@lists.php.net to get a copy of this message | ||
hholzgra Mon Feb 20 18:22:59 2006 UTC
Modified files:
/pear/CodeGen_PECL/PECL/Element Function.php
Log:
generated code for callbacks was broken
http://cvs.php.net/viewcvs.cgi/pear/CodeGen_PECL/PECL/Element/Function.php?r1=1.24&r2=1.25&diff_format=u
Index: pear/CodeGen_PECL/PECL/Element/Function.php
diff -u pear/CodeGen_PECL/PECL/Element/Function.php:1.24
pear/CodeGen_PECL/PECL/Element/Function.php:1.25
--- pear/CodeGen_PECL/PECL/Element/Function.php:1.24 Wed Feb 15 18:43:37 2006
+++ pear/CodeGen_PECL/PECL/Element/Function.php Mon Feb 20 18:22:59 2006
@@ -15,7 +15,7 @@
* @author Hartmut Holzgraefe <hartmut@php.net>
* @copyright 2005 Hartmut Holzgraefe
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Function.php,v 1.24 2006/02/15 18:43:37 hholzgra Exp $
+ * @version CVS: $Id: Function.php,v 1.25 2006/02/20 18:22:59 hholzgra Exp $
* @link http://pear.php.net/package/CodeGen
*/
@@ -1120,7 +1120,7 @@
break;
case "callback":
- $postProcess.= " if (!zend_is_callable({$name}, 0 NULL)
{\n";
+ $postProcess.= " if (!zend_is_callable({$name}, 0, NULL))
{\n";
$postProcess.= " php_error(E_WARNING, \"Invalid
comparison function.\");\n";
$postProcess.= " return;";
$postProcess.= " }\n";