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