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