1--TEST-- 2Bug #70876 Segmentation fault when regenerating session id with strict mode 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--INI-- 6html_errors=0 7session.save_handler=files 8--FILE-- 9<?php 10ini_set('session.use_strict_mode', true); 11session_start(); 12session_regenerate_id(); 13 14echo "ok"; 15?> 16--EXPECT-- 17ok