|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23933 PEAR_Command_Registry::doInfo() needs <provides> section handler
Submitted: 2003-05-31 18:34 UTC Modified: 2003-06-05 01:32 UTC
From: greg at chiaraquartet dot net Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.3.2 OS: Windows XP
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: greg at chiaraquartet dot net
New email:
PHP Version: OS:


 [2003-05-31 18:34 UTC] greg at chiaraquartet dot net
pear info XXX where XXX is a valid, installed package (or .tgz, etc.) does a whole bunch of array to string conversion because there is no handler for the Provides section.  I would suggest only listing classes, as in this code:

                    case 'provides' : {
                        // only list provided classes
                        $result = 'Classes: ';
                        foreach($info[$key] as $program_element) {
                            if ($program_element['type'] == 'class') {
                                if ($result != 'Classes: ') {
                                    $result .= ', ';
                                $result .= $program_element['name'];
                        $info[$key] = $result;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-05 01:32 UTC]
This bug has been fixed in CVS.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Oct 17 10:03:37 2021 UTC