From: Ilia Alshanetsky Date: Fri, 25 Oct 2002 17:52:32 +0000 (+0000) Subject: Fixed a bug in the test that would cause it to always fail. X-Git-Tag: php-4.3.0pre2~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c88e0fd5de3d197c92b7f2849d3331c266035965;p=php Fixed a bug in the test that would cause it to always fail. --- diff --git a/ext/session/tests/008-php4.2.3.phpt b/ext/session/tests/008-php4.2.3.phpt index 2f542ec96d..e7b17bbc46 100644 --- a/ext/session/tests/008-php4.2.3.phpt +++ b/ext/session/tests/008-php4.2.3.phpt @@ -9,7 +9,8 @@ session.use_cookies=0 session.cache_limiter= register_globals=0 session.bug_compat_42=1 -session.bug_compat_warn=0 +session.bug_compat_warn=1 +track_errors=1 --FILE-- --EXPECTF-- -%s(%d) : Warning - Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. NULL +Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. array(1) { ["c"]=> float(3.14)