1--TEST-- 2Test session_set_cookie_params() function : basic functionality 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--FILE-- 6<?php 7 8ob_start(); 9 10/* 11 * Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bool $secure [, bool $httponly]]]]) 12 * Description : Set the session cookie parameters 13 * Source code : ext/session/session.c 14 */ 15 16echo "*** Testing session_set_cookie_params() : basic functionality ***\n"; 17 18var_dump(session_set_cookie_params(3600)); 19var_dump(session_start()); 20var_dump(session_set_cookie_params(1800)); 21var_dump(session_destroy()); 22var_dump(session_set_cookie_params(1234567890)); 23 24echo "Done"; 25ob_end_flush(); 26?> 27--EXPECTF-- 28*** Testing session_set_cookie_params() : basic functionality *** 29NULL 30bool(true) 31NULL 32bool(true) 33NULL 34Done 35