Otomatic
2014-02-08 15:11:28 UTC
Bonjour,
J'ai peut-être mal cherché, mais je n'ai pas trouvé comment rapporter un
problème - qui n'est pas un vrai bug - pour PHP.
Pour PHP 5.5.9 (Binaires Windows) par exemple le fichier
php.ini-development comprend :
; session.bug_compat_42
; Default Value: On
; Development Value: On
; Production Value: Off
; session.bug_compat_warn
; Default Value: On
; Development Value: On
; Production Value: Off
et
; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope.
; PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning separately. At this time,
; the warning is only displayed, if bug_compat_42 is enabled. This
feature
; introduces some serious security problems if not handled correctly.
It's
; recommended that you do not use this feature on production servers.
But you
; should enable this on development servers and enable the warning as
well. If you
; do not enable the feature on development servers, you won't be warned
when it's
; used and debugging errors caused by this can be difficult to track
down.
; Default Value: On
; Development Value: On
; Production Value: Off
; http://php.net/session.bug-compat-42
session.bug_compat_42 = On
; This setting controls whether or not you are warned by PHP when
initializing a
; session value into the global space. session.bug_compat_42 must be
enabled before
; these warnings can be issued by PHP. See the directive above for more
information.
; Default Value: On
; Development Value: On
; Production Value: Off
Alors que ces deux directives sont retirées depuis PHP 5.4.0
session.bug_compat_42 Disponible depuis PHP 4.3.0. Retiré depuis PHP
5.4.0
session.bug_compat_warn Disponible depuis PHP 4.3.0. Retiré depuis PHP
5.4.0
J'ai peut-être mal cherché, mais je n'ai pas trouvé comment rapporter un
problème - qui n'est pas un vrai bug - pour PHP.
Pour PHP 5.5.9 (Binaires Windows) par exemple le fichier
php.ini-development comprend :
; session.bug_compat_42
; Default Value: On
; Development Value: On
; Production Value: Off
; session.bug_compat_warn
; Default Value: On
; Development Value: On
; Production Value: Off
et
; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope.
; PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning separately. At this time,
; the warning is only displayed, if bug_compat_42 is enabled. This
feature
; introduces some serious security problems if not handled correctly.
It's
; recommended that you do not use this feature on production servers.
But you
; should enable this on development servers and enable the warning as
well. If you
; do not enable the feature on development servers, you won't be warned
when it's
; used and debugging errors caused by this can be difficult to track
down.
; Default Value: On
; Development Value: On
; Production Value: Off
; http://php.net/session.bug-compat-42
session.bug_compat_42 = On
; This setting controls whether or not you are warned by PHP when
initializing a
; session value into the global space. session.bug_compat_42 must be
enabled before
; these warnings can be issued by PHP. See the directive above for more
information.
; Default Value: On
; Development Value: On
; Production Value: Off
Alors que ces deux directives sont retirées depuis PHP 5.4.0
session.bug_compat_42 Disponible depuis PHP 4.3.0. Retiré depuis PHP
5.4.0
session.bug_compat_warn Disponible depuis PHP 4.3.0. Retiré depuis PHP
5.4.0