Bug #61356 [NEW]: error_reporting always reports E_STRICT

From: Date: Mon, 12 Mar 2012 09:28:44 +0000
Subject: Bug #61356 [NEW]: error_reporting always reports E_STRICT
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-168369@lists.php.net to get a copy of this message
From:             
Operating system: Windows 7 Ult 32
PHP version:      5.4.0
Package:          PHP options/info functions
Bug Type:         Bug
Bug description:error_reporting always reports E_STRICT

Description:
------------
php-5.4.0-Win32-VC9-x86.zip downloaded 11 March 2012
php.ini as per php.ini-production with a few minor tweaks
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
sends E_STRICT messages to web page - potential security risk

eg: Strict Standards: Non-static method ConvertUtils::AttributeQuote()
should not be called statically in
W:\domains\*****.org.au\private_html\webmail\index.php on line 226

Nothing I do to error_reporting will switch it off.
display_errors = Off doesn't seem to work either.




Test script:
---------------
AfterLogic Webmail http://www.afterlogic.com/download/webmail_php.zip
unzip to /webmail and browse to /webmail/install
needs MySQL, installs OK, 
then browse to /webmail/index.php to login
login screens fills with E_STRICT messages and the form gets corrupted


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



Thread (11 messages)

« previous php.bugs (#168369) next »