[pkg-php-pear] Bug#677603: php-mdb2: Using MDB2.php generates two 'Deprecated' warnings.
Rens Houben
shadur at systemec.nl
Fri Jun 15 09:16:51 UTC 2012
Package: php-mdb2
Version: 2.5.0b2-1
Severity: normal
Tags: upstream
I'm developing a new frontend and recently started using MDB2 for database
interaction, only to discover the following deprecation warnings:
Deprecated: Assigning the return value of new by reference is deprecated in
/usr/share/php/MDB2.php on line 393
Deprecated: Assigning the return value of new by reference is deprecated in
/usr/share/php/MDB2.php on line 2647
This can be reproduced simply by creating the following single-line PHP script:
<?php require_once 'MDB2.php' ?>
This isn't going to be a critical issue until and unless a future version of
PHP disables the deprecated method, but it does need looking at, hence the
'normal' severity.
This issue appears to be discussed upstream at
http://pear.php.net/bugs/bug.php?id=16508
-- System Information:
Debian Release: 6.0.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages php-mdb2 depends on:
ii php-pear 5.3.3-7+squeeze9 PEAR - PHP Extension and Applicati
php-mdb2 recommends no packages.
php-mdb2 suggests no packages.
-- no debconf information
More information about the pkg-php-pear
mailing list