Your message dated Fri, 3 Feb 2012 16:39:21 +0100
with message-id 
<caljhhg8gl4nxckfuxt98ys-nhzrfywncqpvdny1ybadbrgm...@mail.gmail.com>
and subject line Re: [php-maint] Bug#632838: Acknowledgement (cannot surpress 
deprecated warning with "error_reporting = E_ALL & ~E_DEPRECATED")
has caused the Debian Bug report #632838,
regarding cannot surpress deprecated warning with "error_reporting = E_ALL & 
~E_DEPRECATED"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
632838: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632838
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php5-cli
Version: 5.3.3-7+squeeze3
Severity: important

deprecation warnings are still shown if error_reporting is set to
error_reporting = E_ALL & ~E_DEPRECATED.

error_reporting = E_ALL & ~E_WARNING incorrectly disables the
deprecation warning.

sample php.ini files with deprecated option set "register_long_arrays".

p1.ini
> [PHP]
> error_reporting = E_ALL & ~E_DEPRECATED
> error_logging = STDOUT
> register_long_arrays = On

p2.ini
> [PHP]
> error_reporting = E_ALL & ~E_WARNING
> error_logging = STDOUT
> register_long_arrays = On


"error_reporting = E_ALL & ~E_DEPRECATED" does not suppress the warning
> raoul@dev64:~$ php -nc p1.ini -r 'echo "test\n";'
> 
> Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and 
> greater in Unknown on line 0
> test

"error_reporting = E_ALL & ~E_WARNING" successfully suppresses the
warning but actually is incorrect
> raoul@dev64:~$ php -nc p2.ini -r 'echo "test\n";'
> test



this issue has been brought up in different bugs.php.net reports, but i
did not find a proper solution:

https://bugs.php.net/bug.php?id=50251#1258845114 (2009-11-21 23:11 UTC)
https://bugs.php.net/bug.php?id=49362#1269367386 (2010-03-23 18:03 UTC)

i kindly ask you to look into this issue!

thanks,
raoul



--- End Message ---
--- Begin Message ---
Version: 5.3.5-1

Hi,

this is not a security bug, it has been fixed in PHP 5.3.4 and
generally speaking due
to Debian security it would not be updated in the stable distribution.

However since the patch is very small and changes only one constant,
I'll include it
in next security update (no ETA for that).

O.

On Fri, Nov 4, 2011 at 11:36, Raoul Bhatia [IPAX] <[email protected]> wrote:
> On 2011-07-06 13:16, Raoul Bhatia [IPAX] wrote:
>>
>> after some digging,
>>
>>
>> http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/main.c?r1=302118&r2=302117&pathrev=302118
>>
>> should be the relevant patch!
>
>
> is there any eta on fixing this issue?
>
>
> thanks,
> raoul
> --
> ____________________________________________________________________
> DI (FH) Raoul Bhatia M.Sc.          email.          [email protected]
> Technischer Leiter
>
> IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
>
> Barawitzkagasse 10/2/2/11           email.            [email protected]
> 1190 Wien                           tel.               +43 1 3670030
> FN 277995t HG Wien                  fax.            +43 1 3670030 15
> ____________________________________________________________________
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



-- 
Ondřej Surý <[email protected]>


--- End Message ---

Reply via email to