Skip to content

Commit

Permalink
always register arg_info now
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/CodeGen_PECL/trunk@223191 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Hartmut Holzgraefe committed Nov 11, 2006
1 parent 867d671 commit 0b924e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions PECL/Element/Function.php
Expand Up @@ -1552,9 +1552,7 @@ function functionEntry()
{
$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();

Expand Down

0 comments on commit 0b924e3

Please sign in to comment.