ID: 43722 Updated by: [EMAIL PROTECTED] Reported By: 007NOT at gmail dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: all PHP Version: 5.2.5 New Comment:
There's no win from changing that, just more confusion for people finally updating from very old PHP versions. For everybody doing proper code (including register_globals=off) that thing has no effect. Previous Comments: ------------------------------------------------------------------------ [2007-12-31 18:36:55] 007NOT at gmail dot com Description: ------------ PHP 4 end of life == 2007-12-31 so that we no more need compatibility with php4 in php5 ;) sorry for my bad english :( Reproduce code: --------------- ; PHP 4.2 and less have an undocumented feature/bug that allows you to ; to initialize a session variable in the global scope, albeit register_globals ; is disabled. 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. session.bug_compat_42 = 1 session.bug_compat_warn = 1 Expected result: ---------------- session.bug_compat_42 = 0 session.bug_compat_warn = 0 Actual result: -------------- session.bug_compat_42 = 1 session.bug_compat_warn = 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43722&edit=1
