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