1--TEST-- 2Test session_start() function : variation 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--INI-- 6session.auto_start=1 7--FILE-- 8<?php 9 10ob_start(); 11 12/* 13 * Prototype : bool session_start(void) 14 * Description : Initialize session data 15 * Source code : ext/session/session.c 16 */ 17 18echo "*** Testing session_start() : variation ***\n"; 19 20var_dump(session_id()); 21var_dump(session_start()); 22var_dump(session_id()); 23var_dump(session_destroy()); 24var_dump(session_id()); 25 26echo "Done"; 27ob_end_flush(); 28?> 29--EXPECTF-- 30*** Testing session_start() : variation *** 31string(%d) "%s" 32 33Notice: session_start(): A session had already been started - ignoring in %s on line 14 34bool(true) 35string(%d) "%s" 36bool(true) 37string(0) "" 38Done 39