From:             empx at gmx dot de
Operating system: Windows
PHP version:      5.0.2
PHP Bug Type:     Documentation problem
Bug description:  php.ini documentation about E_All/E_Strict confusing.

Description:
------------
While the online documentation says E_ALL does not include E_STRICT,
(which is probably correct :), when you read the docs/examples about
error-reporting in the php.ini(-dist/-recommended), you get the impression
that E_ALL does include E_STRICT too.

Examples:

; E_ALL             - All errors and warnings
should get updated to something like:
; E_ALL             - All errors and warnings, except E_Strict

;   - Show all errors, except for notices and coding standards warnings
;
;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

If E_ALL does not include E_STRICT, then " & ~E_STRICT" shouldn't be
needed here, right?

regards,
Mike


-- 
Edit bug report at http://bugs.php.net/?id=30314&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30314&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30314&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30314&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30314&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30314&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30314&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30314&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30314&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30314&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30314&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30314&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30314&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30314&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30314&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30314&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30314&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30314&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30314&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30314&r=mysqlcfg

Reply via email to