Edit report at http://pear.php.net/bugs/bug.php?id=18737&edit=1

ID: 18737
Updated by: lukas.feiler@lukasfeiler.com
Reported By: moretty_btt at hotmail dot com
Summary: Strick standards
-Status: Open
+Status: Closed
Type: Bug
Package: XML_Query2XML
Operating System: Windows 7
Package Version: 1.7.2
PHP Version: 5.3.6
-Assigned To:
+Assigned To: lukasfeiler
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: lukasfeiler
XML_Query2XML is, like many other PEAR packages, not yet E_STRICT
compatible. [1] The necessary changes will be made in the next major
release. Until then, I would recommend setting error_reporting to
something other than E_ALL | E_STRICT, e.g. E_ALL & ~E_NOTICE. To do so,
edit your php.ini or, if you do not have access to it, include the
following line of code in your php file:

error_reporting(E_ALL & ~E_NOTICE);

[1] See

Previous Comments:

[2011-08-16 22:36:21] moretty_btt

A warning ocurred when execute a query with Query2XML:

Strict standards: Only variables should be passed by reference in
F:\xampp\php\PEAR\XML\Query2XML.php on line 599

Test script:
$dsn = 'mysql:dbname='.$this->db.';host='.$this->host;

$dbh = new PDO($dsn, $this->user, $this->pass);

$q2x = XML_Query2XML::factory($dbh);

$xmlr = $q2x->getXML($query,$configQuery);


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
postedSep 7, '11 at 9:00p
activeSep 7, '11 at 9:00p

1 user in discussion

Lukas Feiler: 1 post



site design / logo © 2022 Grokbase