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 18$_SESSION['blah'] = 'foo'; 19var_dump($_SESSION); 20session_start(); 21var_dump($_SESSION); 22 23session_destroy(); 24echo "Done"; 25ob_end_flush(); 26 27?> 28--EXPECT-- 29*** Testing session_start() : variation *** 30array(1) { 31 ["blah"]=> 32 string(3) "foo" 33} 34array(0) { 35} 36Done 37