dis-bench / src /php /php-src /ext /session /tests /bug70876.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
328 Bytes
--TEST--
Bug #70876 Segmentation fault when regenerating session id with strict mode
--EXTENSIONS--
session
--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