[php-maint] Bug#618680: php-image-barcode: Uses depreciated methods

Tobias Frost tobi at frost.de
Thu Mar 17 15:14:58 UTC 2011

Package: php-image-barcode
Version: 1.1.1-1
Severity: minor

My php script on my debuggin machine tells me:

Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/Image/Barcode.php on line 80

and later

Notice: Only variable references should be returned by reference in /usr/share/php/Image/Barcode.php on line 112

I think generally not a big deal (therfore minor) but when using a high verbosity level on php, my browser tells me:
The image “http://localhost/barcode_img.php” cannot be displayed, because it contains errors.

NB: the barcode_img.php is the exact copy of the file in the examples...

--e System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php-image-barcode depends on:
ii  php-compat                    1.6.0a2-1  Provides missing functionality for
ii  php-pear                      5.3.5-1    PEAR - PHP Extension and Applicati
ii  php5-gd                       5.3.5-1    GD module for php5

php-image-barcode recommends no packages.

php-image-barcode suggests no packages.

-- no debconf information

More information about the pkg-php-maint mailing list