Annotation of embedaddon/php/ext/session/tests/011.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: session_decode(); should not segfault
! 3: --SKIPIF--
! 4: <?php include('skipif.inc'); ?>
! 5: --INI--
! 6: session.use_cookies=0
! 7: session.cache_limiter=
! 8: register_globals=0
! 9: session.bug_compat_42=1
! 10: session.bug_compat_warn=0
! 11: --FILE--
! 12: <?php
! 13: error_reporting(E_ALL);
! 14:
! 15: @session_decode("garbage data and no session started");
! 16: @session_decode("userid|s:5:\"mazen\";chatRoom|s:1:\"1\";");
! 17: print "I live\n";
! 18: ?>
! 19: --EXPECT--
! 20: I live
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>