diff options
Diffstat (limited to 'ext/session/tests/bug73100.phpt')
-rw-r--r-- | ext/session/tests/bug73100.phpt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/session/tests/bug73100.phpt b/ext/session/tests/bug73100.phpt index 3f3e92561a..b53ebc07b4 100644 --- a/ext/session/tests/bug73100.phpt +++ b/ext/session/tests/bug73100.phpt @@ -13,13 +13,15 @@ ob_start(); var_dump(session_start()); session_module_name("user"); var_dump(session_destroy()); + +session_module_name("user"); ?> ===DONE=== --EXPECTF-- bool(true) -Warning: session_module_name(): A session is active. You cannot change the session module's ini settings at this time in %s on line %d +Warning: session_module_name(): Cannot change save handler module when session is active in %s on line 4 +bool(true) + +Recoverable fatal error: session_module_name(): Cannot set 'user' save handler by ini_set() or session_module_name() in %s on line 7 -Warning: session_destroy(): Session object destruction failed in %s on line %d -bool(false) -===DONE=== |