1--TEST-- 2Test session_set_save_handler() function : variation 3--EXTENSIONS-- 4session 5--FILE-- 6<?php 7 8ob_start(); 9 10echo "*** Testing session_set_save_handler() : variation ***\n"; 11 12var_dump(session_module_name()); 13var_dump(session_module_name(FALSE)); 14var_dump(session_module_name()); 15var_dump(session_module_name("blah")); 16var_dump(session_module_name()); 17var_dump(session_module_name("files")); 18var_dump(session_module_name()); 19 20ob_end_flush(); 21?> 22--EXPECTF-- 23*** Testing session_set_save_handler() : variation *** 24string(%d) "%s" 25 26Warning: session_module_name(): Session handler module "" cannot be found in %s on line %d 27bool(false) 28string(%d) "%s" 29 30Warning: session_module_name(): Session handler module "blah" cannot be found in %s on line %d 31bool(false) 32string(%d) "%s" 33string(%d) "%s" 34string(5) "files" 35