1--TEST-- 2Test session_cache_expire() function : variation 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--FILE-- 6<?php 7 8ob_start(); 9 10echo "*** Testing session_cache_expire() : variation ***\n"; 11 12var_dump(ini_get("session.cache_expire")); 13var_dump(session_cache_expire()); 14var_dump(ini_get("session.cache_expire")); 15var_dump(session_cache_expire(1234567890)); 16var_dump(ini_get("session.cache_expire")); 17var_dump(session_start()); 18var_dump(session_cache_expire()); 19var_dump(ini_get("session.cache_expire")); 20var_dump(session_destroy()); 21var_dump(session_cache_expire()); 22var_dump(ini_get("session.cache_expire")); 23 24echo "Done"; 25ob_end_flush(); 26?> 27--EXPECT-- 28*** Testing session_cache_expire() : variation *** 29string(3) "180" 30int(180) 31string(3) "180" 32int(180) 33string(10) "1234567890" 34bool(true) 35int(1234567890) 36string(10) "1234567890" 37bool(true) 38int(1234567890) 39string(10) "1234567890" 40Done 41