xref: /PHP-5.3/ext/session/tests/013.phpt (revision 8deefa87)
1--TEST--
2redefining SID should not cause warnings
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--INI--
6session.use_cookies=0
7session.cache_limiter=
8register_globals=1
9session.bug_compat_42=1
10session.bug_compat_warn=0
11session.serialize_handler=php
12session.save_handler=files
13--FILE--
14<?php
15error_reporting(E_ALL);
16
17session_id("abtest");
18session_start();
19session_destroy();
20session_id("abtest2");
21session_start();
22session_destroy();
23
24print "I live\n";
25?>
26--EXPECT--
27Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0
28I live
29