From:             romanf at trash dot net
Operating system: OpenSuse 11
PHP version:      5.3.0
PHP Bug Type:     Output Control
Bug description:  magic_quotes_gpc=on produces deprecated msg on CLI even if 
error_reporting=0

Description:
------------
I have a php.ini with

error_reporting=0
magic_quotes_gpc=on

If I run a test-script on the CLI, the deprecated warning is still shown
on stderr.

When run under a webserver (e.g. apache) no output is produced.

Expected result:
----------------
Deprecated warning should be suppressed on CLI as well if
error_reporting=0.

Actual result:
--------------
Deprecated warning is NOT suppressed on CLI (and only on CLI) if
magic_quotes_gpc=on regardless of error_reporting.

-- 
Edit bug report at http://bugs.php.net/?id=49388&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49388&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49388&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49388&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49388&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49388&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49388&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49388&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49388&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49388&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49388&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49388&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49388&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49388&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49388&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49388&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49388&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49388&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49388&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49388&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49388&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49388&r=mysqlcfg

Reply via email to