1--TEST-- 2Test session_gc() function : basic functionality 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--FILE-- 6<?php 7 8ob_start(); 9 10echo "*** Testing session_gc() : basic functionality ***\n"; 11 12var_dump(session_gc()); 13 14var_dump(session_start()); 15var_dump(session_gc(), session_gc() >= -1); 16var_dump(session_destroy()); 17var_dump(session_id()); 18 19echo "Done"; 20ob_end_flush(); 21?> 22--EXPECTF-- 23*** Testing session_gc() : basic functionality *** 24 25Warning: session_gc(): Session cannot be garbage collected when there is no active session in %s on line %d 26bool(false) 27bool(true) 28int(%d) 29bool(true) 30bool(true) 31string(0) "" 32Done 33