1--TEST-- 2Test session_module_name() function : basic functionality 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--FILE-- 6<?php 7 8ob_start(); 9 10/* 11 * Prototype : string session_module_name([string $module]) 12 * Description : Get and/or set the current session module 13 * Source code : ext/session/session.c 14 */ 15 16echo "*** Testing session_module_name() : basic functionality ***\n"; 17var_dump(session_module_name("files")); 18var_dump(session_module_name()); 19var_dump(session_start()); 20var_dump(session_module_name()); 21var_dump(session_destroy()); 22var_dump(session_module_name()); 23 24echo "Done"; 25ob_end_flush(); 26?> 27--EXPECTF-- 28*** Testing session_module_name() : basic functionality *** 29string(%d) "%s" 30string(5) "files" 31bool(true) 32string(5) "files" 33bool(true) 34string(5) "files" 35Done 36