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