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

ID: 17510
Updated by: lukas.feiler@lukasfeiler.com
Reported By: basilbthoppil at gmail dot com
Summary: When I try to use 'getFlatXML' function its throwing
some 'strict standards' er
-Status: Assigned
+Status: Closed
Type: Bug
Package: XML_Query2XML
Operating System: Gnu/Linux (Ubuntu)
Package Version: 1.7.1
PHP Version: 5.3.0
Assigned To: lukasfeiler
Roadmap Versions:
New Comment:

-Status: Assigned
+Status: Closed

Previous Comments:

[2010-06-22 08:18:26] lukasfeiler

-Status: Open
+Status: Assigned
-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 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


[2010-06-22 06:20:01] basilbthoppil

When I try to use 'getFlatXML' function its throwing some 'strict
standards' error in /php/XML/Query2XML/Driver/PDO.php

When I inspected on line number 78

When I checked the line number 78 of Driver/PDO.php I found the
following code

$result =& $this->_prepareAndExecute($sql, $configPath);

But the syntax '=&' is deprecated in php 5 as I knew from some other
Also when I removed '&' the code worked perfectly.

Q: Is it advisable to remove that '&' and continue the coding?


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedFeb 8, '11 at 5:34p
activeFeb 8, '11 at 5:34p

1 user in discussion

Lukas Feiler: 1 post



site design / logo © 2022 Grokbase