summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug70876.phpt
blob: 33e0323b9fc5aa0ffc15de9328006d12f2325a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Bug #70876 Segmentation fault when regenerating session id with strict mode
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
html_errors=0
session.save_handler=files
--FILE--
<?php
ini_set('session.use_strict_mode', true);
session_start();
session_regenerate_id();

echo "ok";
?>
--EXPECT--
ok