File: /www/server/php/83/src/ext/session/tests/user_session_module/sessionhandler_open_001.phpt
--TEST--
Testing repated SessionHandler::open() calls
--EXTENSIONS--
session
--FILE--
<?php
ini_set('session.save_handler', 'files');
$x = new SessionHandler;
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "\n";
}
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "\n";
}
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "\n";
}
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "\n";
}
print "Done!\n";
?>
--EXPECT--
Session is not active
Session is not active
Session is not active
Session is not active
Done!