Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.16

Bug #4038 Array to string conversion in PEAR/Frontend/CLI.php
Submitted: 2005-04-03 11:47 UTC
From: schst Assigned: cellog
Status: Closed Package: PEAR
PHP Version: Irrelevant OS: Linux Debian
Roadmaps: (Not assigned)    
Subscription  


 [2005-04-03 11:47 UTC] schst
Description: ------------ When using the search command, PHP triggers several notices: Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 415 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 425 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 430 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 415 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 425 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 430 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 528 Tested with PEAR 1.4.0a9 with PHP4.3.4 and 5.0.4 Reproduce code: --------------- $ pear search XML Expected result: ---------------- schst@rot3:schst> pear5 search XML Matched packages, channel pear.php.net: ======================================= Package Stable/(Latest) Local xmlReader 1.0 Provides fast, non-cached, forward-only access to XML data. XMLRPCi none/(1.0beta) Improved XML-RPC xmlwriter none/(0.2alpha) Provides fast, non-cached, forward-only means to write XML data. XML_Beautifier 1.1 1.1 Class to format XML documents. XML_CSSML 1.1 The PEAR::XML_CSSML package provides methods for creating cascading style sheets (CSS) from an XML standard called CSSML. XML_DTD none/(0.4.2alpha) Parsing of DTD files and DTD validation of XML files XML_FastCreate 1.0.0 Fast creation of valid XML with DTD control. XML_fo2pdf 0.98 Converts a xsl-fo file to pdf/ps/pcl/text/etc with the help of apache-fop XML_FOAF none/(0.2alpha) Provides the ability to manipulate FOAF RDF/XML XML_HTMLSax 2.1.2 A SAX parser for HTML and other badly formed XML documents XML_HTMLSax3 none/(3.0.0RC1beta) A SAX parser for HTML and other badly formed XML documents XML_image2svg 0.1 Image to SVG conversion XML_Indexing none/(0.3.5alpha) XML Indexing support XML_MXML none/(0.3.0alpha) Framework to build Macromedia Flex applications. XML_NITF 1.0.1/(1.0.2beta) Parse NITF documents. XML_Parser 1.2.6 Array XML parsing class based on PHP's bundled expat XML_RDDL none/(0.9beta) Class to read RDDL (Resource Directory Description Language) documents. XML_RSS 0.9.2 RSS parser XML_SaxFilters none/(0.3.0beta) A framework for building XML filters using the SAX API XML_Serializer none/(0.15.0beta) 0.15.0 Swiss-army knive for reading and writing XML files. Creates XML files from data structures and vice versa. XML_sql2xml none/(0.3.2beta) Returns XML from a SQL-Query. XML_Statistics none/(0.1beta) Class to obtain statistical information from an XML documents. XML_SVG 0.0.3 XML_SVG API XML_svg2image none/(0.1beta) Converts a svg file to a png/jpeg image XML_Transformer 1.1.0 XML Transformations in PHP XML_Tree 1.1/(2.0.0RC2beta) Represent XML data in a tree structure XML_Util 1.1.1 1.1.1 XML utility class. XML_Wddx 1.0.1 Wddx pretty serializer and deserializer XML_XPath none/(1.2.1devel) The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and query interface. XML_XSLT_Wrapper none/(0.2.1alpha) Provides a single interface to the different XSLT interface or commands XML_XUL none/(0.8.2alpha) Class to build Mozilla XUL applications. XML_RPC 1.2.2 Array PHP implementation of the XML-RPC protocol Actual result: -------------- schst@rot3:schst> pear5 search XML Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 415 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 425 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 430 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 415 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 425 Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 430 Matched packages, channel pear.php.net: ======================================= Package Stable/(Latest) Local xmlReader 1.0 Provides fast, non-cached, forward-only access to XML data. XMLRPCi none/(1.0beta) Improved XML-RPC xmlwriter none/(0.2alpha) Provides fast, non-cached, forward-only means to write XML data. XML_Beautifier 1.1 1.1 Class to format XML documents. XML_CSSML 1.1 The PEAR::XML_CSSML package provides methods for creating cascading style sheets (CSS) from an XML standard called CSSML. XML_DTD none/(0.4.2alpha) Parsing of DTD files and DTD validation of XML files XML_FastCreate 1.0.0 Fast creation of valid XML with DTD control. XML_fo2pdf 0.98 Converts a xsl-fo file to pdf/ps/pcl/text/etc with the help of apache-fop XML_FOAF none/(0.2alpha) Provides the ability to manipulate FOAF RDF/XML XML_HTMLSax 2.1.2 A SAX parser for HTML and other badly formed XML documents XML_HTMLSax3 none/(3.0.0RC1beta) A SAX parser for HTML and other badly formed XML documents XML_image2svg 0.1 Image to SVG conversion XML_Indexing none/(0.3.5alpha) XML Indexing support XML_MXML none/(0.3.0alpha) Framework to build Macromedia Flex applications. XML_NITF 1.0.1/(1.0.2beta) Parse NITF documents. Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 528 XML_Parser 1.2.6 Array XML parsing class based on PHP's bundled expat XML_RDDL none/(0.9beta) Class to read RDDL (Resource Directory Description Language) documents. XML_RSS 0.9.2 RSS parser XML_SaxFilters none/(0.3.0beta) A framework for building XML filters using the SAX API XML_Serializer none/(0.15.0beta) 0.15.0 Swiss-army knive for reading and writing XML files. Creates XML files from data structures and vice versa. XML_sql2xml none/(0.3.2beta) Returns XML from a SQL-Query. XML_Statistics none/(0.1beta) Class to obtain statistical information from an XML documents. XML_SVG 0.0.3 XML_SVG API XML_svg2image none/(0.1beta) Converts a svg file to a png/jpeg image XML_Transformer 1.1.0 XML Transformations in PHP XML_Tree 1.1/(2.0.0RC2beta) Represent XML data in a tree structure XML_Util 1.1.1 1.1.1 XML utility class. XML_Wddx 1.0.1 Wddx pretty serializer and deserializer XML_XPath none/(1.2.1devel) The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and query interface. XML_XSLT_Wrapper none/(0.2.1alpha) Provides a single interface to the different XSLT interface or commands XML_XUL none/(0.8.2alpha) Class to build Mozilla XUL applications. Notice: Array to string conversion in PEAR/Frontend/CLI.php on line 528 XML_RPC 1.2.2 Array PHP implementation of the XML-RPC protocol

Comments

 [2005-04-03 21:39 UTC] cellog
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.