1--TEST-- 2Bug #68063 (Empty session IDs do still start sessions) 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--INI-- 6--FILE-- 7<?php 8// Could also be set with a cookie like "PHPSESSID=; path=/" 9session_id(''); 10 11// Will still start the session and return true 12var_dump(session_start()); 13 14// Returns an empty string 15var_dump(session_id()); 16?> 17--EXPECTF-- 18Warning: session_start(): Cannot start session with empty session ID in %s on line %d 19bool(false) 20string(0) "" 21