Package: php5-cli
Version: 5.3.8.0-1+b1
Severity: normal

After upgrading from lenny to squeeze, I noticed the following error in my PHP 
scripts which are run on the command line:

PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and 
greater in Unknown line 0

Looking at the file /etc/php5/cli/php.ini, it contains the following line:

register_long_arrays = Off

This warning will not affect users by default, but I have switched the warning 
level to E_ALL (default is E_ALL & ~E_DEPRECATED).

It is possible to remove this warning by editing php.ini and commenting out the 
register_long_arrays line, but that means changing a Debian-supplied 
configuration file and may cause conflicts with any future updates.

If this option was commented out in the Debian-supplied file, it would not 
affect users, since it is disabled/Off anyway, but it would prevent warnings 
for anyone who has switched on all errors. I also think it should be commented 
out with a view to being removed completely, because this option has been 
deprecated upstream and the PHP documentation explictly warns that 'relying on 
this feature is highly discouraged'.


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

Kernel: Linux 3.0.0-1-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-cli depends on:
ii  libbz2-1.0        1.0.6-1
ii  libc6             2.13-21
ii  libcomerr2        1.42-1
ii  libdb5.1          5.1.25-11
ii  libgssapi-krb5-2  1.10+dfsg~alpha1-6
ii  libk5crypto3      1.10+dfsg~alpha1-6
ii  libkrb5-3         1.10+dfsg~alpha1-6
ii  libmagic1         5.09-2
ii  libonig2          5.9.1-1
ii  libpcre3          8.12-4
ii  libqdbm14         1.8.78-1+b1
ii  libssl1.0.0       1.0.0e-3
ii  libxml2           2.7.8.dfsg-5
ii  mime-support      3.51-1
ii  php5-common       5.3.8.0-1+b1
ii  tzdata            2011n-1
ii  ucf               3.0025+nmu2
ii  zlib1g            1:1.2.3.4.dfsg-3

php5-cli recommends no packages.

Versions of packages php5-cli suggests:
pn  php-pear  <none>

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to