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