cvs: pear /CodeGen_PECL/PECL/Element Function.php

From: Date: Sat, 11 Nov 2006 23:09:51 +0000
Subject: cvs: pear /CodeGen_PECL/PECL/Element Function.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-43044@lists.php.net to get a copy of this message
hholzgra Sat Nov 11 23:09:51 2006 UTC Modified files: /pear/CodeGen_PECL/PECL/Element Function.php Log: always register arg_info now http://cvs.php.net/viewvc.cgi/pear/CodeGen_PECL/PECL/Element/Function.php?r1=1.44&r2=1.45&diff_format=u Index: pear/CodeGen_PECL/PECL/Element/Function.php diff -u pear/CodeGen_PECL/PECL/Element/Function.php:1.44 pear/CodeGen_PECL/PECL/Element/Function.php:1.45 --- pear/CodeGen_PECL/PECL/Element/Function.php:1.44 Sat Nov 11 20:31:15 2006 +++ pear/CodeGen_PECL/PECL/Element/Function.php Sat Nov 11 23:09:51 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.44 2006/11/11 20:31:15 hholzgra Exp $ + * @version CVS: $Id: Function.php,v 1.45 2006/11/11 23:09:51 hholzgra Exp $ * @link http://pear.php.net/package/CodeGen */ @@ -1552,9 +1552,7 @@ { $code = $this->ifConditionStart(); - $arginfo = $this->hasRefArgs ? "{$this->name}_arg_info" : "NULL"; - - $code .= sprintf(" PHP_FE(%-20s, %s)\n", $this->name, $arginfo); + $code .= sprintf(" PHP_FE(%-20s, %s)\n", $this->name, "{$this->name}_arg_info"); $code.= $this->ifConditionEnd();

« previous php.pear.cvs (#43044) next »