1--TEST-- 2Bug #74833 Session module number is uninitialized when SID is reset 3--EXTENSIONS-- 4session 5--SKIPIF-- 6<?php include('skipif.inc'); ?> 7--FILE-- 8<?php 9 10ob_start(); 11 12session_start(); 13session_regenerate_id(); 14$c = get_defined_constants(true); 15/* Ensure the SID constant has correct module number. */ 16var_dump(isset($c['session']['SID'])); 17 18ob_end_flush(); 19?> 20--EXPECT-- 21bool(true) 22