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