xref: /PHP-7.2/ext/session/tests/028.phpt (revision 57e0d2ac)
1--TEST--
2$session_array = explode(";", session_encode()); 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_array = explode(";", @session_encode());
13print "I live\n";
14?>
15--EXPECT--
16I live
17