|  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
 [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: Tue May 11 22:01:23 2021 UTC