|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56207 non-existing functions
Submitted: 2004-10-01 11:49 UTC Modified: 2004-11-29 19:59 UTC
From: christian at wenz dot org Assigned: hholzgra (profile)
Status: Closed Package: PECL_Gen (PECL)
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: christian at wenz dot org
New email:
PHP Version: OS:


 [2004-10-01 11:49 UTC] christian at wenz dot org
the current release of PECL_Gen, as well as the current CVS version, do reference non-existing functions because the studlyCaps conversion was not completely done in Extension.php and License.php.

Recommended fix:

1) Extension.php, line 971: replace
  $code.= $this->license->license_comment();
  $code.= $this->license->getComment();

2) License.php, line 77: replace
  fputs($fp, $this->license_file_text());
  fputs($fp, $this->license_getText());

Reproduce code:
pecl-gen any.xml

Expected result:
no error

Actual result:
error that function license_comment() was not found / that function license_file_text() was not found


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-29 19:59 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon May 10 02:01:22 2021 UTC