PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » MDB2 » Bug #9756

Warnings at E_STRICT

Details

Submitted2007-01-06 22:44 UTC
Fromjbailey at raspberryginger dot com
Assignedquipo
StatusWont fix
PackageMDB2
PHP Version5.1.2
OSLinux
Roadmaps(Not assigned)

Comments

[2007-01-06 22:44 UTC] jbailey at raspberryginger dot com

Description:
------------
MDB2 is not free of warnings at E_STRICT, and should be.

Test script:
---------------
<?php
error_reporting(E_STRICT|E_ALL);

require_once 'MDB2.php';

?>

Expected result:
----------------
Should be no output.

Actual result:
--------------
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 390

Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 390
PHP Strict Standards: Redefining already defined constructor for class MDB2_Driver_Common in /usr/share/pear/MDB2.php on line 1297

Strict Standards: Redefining already defined constructor for class MDB2_Driver_Common in /usr/share/pear/MDB2.php on line 1297
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 1870

Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 1870
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 2557

Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 2557
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 2580

Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 2580
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 2925

Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/MDB2.php on line 2925
PHP Strict Standards: Redefining already defined constructor for class MDB2_Result_Common in /usr/share/pear/MDB2.php on line 3361

Strict Standards: Redefining already defined constructor for class MDB2_Result_Common in /usr/share/pear/MDB2.php on line 3361
PHP Strict Standards: Redefining already defined constructor for class MDB2_Row in /usr/share/pear/MDB2.php on line 3837

Strict Standards: Redefining already defined constructor for class MDB2_Row in /usr/share/pear/MDB2.php on line 3837
PHP Strict Standards: Redefining already defined constructor for class MDB2_Statement_Common in /usr/share/pear/MDB2.php on line 3894

Strict Standards: Redefining already defined constructor for class MDB2_Statement_Common in /usr/share/pear/MDB2.php on line 3894
PHP Strict Standards: Redefining already defined constructor for class MDB2_Module_Common in /usr/share/pear/MDB2.php on line 4174

Strict Standards: Redefining already defined constructor for class MDB2_Module_Common in /usr/share/pear/MDB2.php on line 4174
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR.php on line 563

Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR.php on line 563
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR.php on line 566

Strict Standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR.php on line 566
PHP Strict Standards: Declaration of MDB2_Driver_Common::raiseError() should be compatible with that of PEAR::raiseError() in /usr/share/pear/MDB2.php on line 977

Strict Standards: Declaration of MDB2_Driver_Common::raiseError() should be compatible with that of PEAR::raiseError() in /usr/share/pear/MDB2.php on line 977