1--TEST-- 2setting $_SESSION before session_start() should not cause segfault 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--INI-- 6session.use_cookies=0 7session.cache_limiter= 8session.serialize_handler=php 9session.save_handler=files 10--FILE-- 11<?php 12 13error_reporting(E_ALL); 14 15class Kill { 16 function Kill() { 17 global $HTTP_SESSION_VARS; 18 session_start(); 19 } 20} 21$k = new Kill(); 22 23print "I live\n"; 24?> 25--EXPECT-- 26I live 27