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

ID: 9756
Comment by: cbegly
Reported By: calebbegly at gmail dot com
Summary: Warnings at E_STRICT
Status: Wont fix
Type: Bug
Package: MDB2
Operating System: Linux
Package Version: 2.3.0
PHP Version: 5.1.2
Assigned To: quipo
New Comment:

Is it possible that there needs to be a split on the channel to provide
a php5 compatible version?

Another recommendation would be to provide the php 4 version as a
deprecated, archived version since PHP dropped support for php 4 *quite*
a long time ago.


Previous Comments:
------------------------------------------------------------------------

[2007-01-06 17:52:04] quipo

E_STRICT compatibility is only required for new, PHP5-only packages.
MDB2 was written before that regulation and is PHP4-compatible.

------------------------------------------------------------------------

[2007-01-06 17:44:28] 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

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedFeb 25, '11 at 3:16p
activeFeb 25, '11 at 3:16p
posts1
users1
websitepear.php.net

1 user in discussion

Cbegly: 1 post

People

Translate

site design / logo © 2022 Grokbase