--TEST-- bug compatibility: global is used albeit register_globals=0 --SKIPIF-- = 4.2.3"); ?> --INI-- register_long_arrays=1 session.use_cookies=0 session.cache_limiter= register_globals=0 session.bug_compat_42=1 session.bug_compat_warn=1 track_errors=1 log_errors=0 html_errors=0 display_errors=1 error_reporting=2039; session.serialize_handler=php session.save_handler=files precision=14 --FILE-- --EXPECTF-- PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0 NULL session_write_close(): 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) } NULL array(1) { ["c"]=> float(3.14) }