[php-maint] Bug#653544: php-mail: Assigning the return value of new by reference is deprecated

Russell Coker russell at coker.com.au
Thu Dec 29 07:59:29 UTC 2011


Package: php-mail
Version: 1.2.0-2
Severity: normal
Tags: patch

PHP Deprecated:  Assigning the return value of new by reference is deprecated 
in /usr/share/php/Mail/smtp.php on line 349

I see the above message in my Apache error.log when I use php-mail.  The 
attached patch stops the error messages and appears to give exactly the same 
functionality.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/1 CPU core)
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-mail depends on:
ii  php-pear                5.3.3-7+squeeze3 PEAR - PHP Extension and 
Applicati

Versions of packages php-mail recommends:
ii  php-net-smtp                  1.4.2-3    PHP PEAR module implementing SMTP 

php-mail suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-mail.patch
Type: text/x-patch
Size: 375 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20111229/dc9e9201/attachment.bin>


More information about the pkg-php-maint mailing list