Package: php-mail-mimedecode Version: 1.5.0-3 There appears to be a PHP 5.3 deprecation error in /usr/share/php/Mail/mimeDecode.php:
I'm using a PHP program called MailZu that is used as a quarantine management system for amavisd-new and when a quarantined message is displayed, I get this error in /var/log/apache2/error.log: [Sat May 21 18:20:55 2011] [error] [client 192.168.1.41] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/Mail/mimeDecode.php on line 324, referer: https://msa.example.com/mailzu/messagesAdmin.php?t_criterion=contains&t_string=example.com&m_criterion=contains&m_string=&f_criterion=contains&f_string=&s_criterion=contains&s_string=&ctype=A&search_action=Search Line 324 reads: $obj = &new Mail_mimeDecode($body); I have read that this may possibly be resolved by removing the & in the front of &new. Doing so does appear to resolve the issue for me. For comparison, I noticed that line Line 196 reads: $obj = new Mail_mimeDecode($params['input']); While I'm not a PHP programmer, it appears to me it might be OK to remove the & from in front of &new as it is done elsewhere in the program. Gary V -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org