1--TEST-- 2Test session_module_name() function : variation 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() : variation ***\n"; 17var_dump(session_module_name("blah")); 18var_dump(session_start()); 19var_dump(session_module_name()); 20var_dump(session_destroy()); 21var_dump(session_module_name()); 22 23echo "Done"; 24ob_end_flush(); 25?> 26--EXPECTF-- 27*** Testing session_module_name() : variation *** 28 29Warning: session_module_name(): Cannot find named PHP session module (blah) in %s on line %d 30bool(false) 31bool(true) 32string(%d) "%s" 33bool(true) 34string(%d) "%s" 35Done 36