mirror of
https://github.com/php/php-src.git
synced 2024-12-15 12:54:57 +08:00
27 lines
575 B
PHP
27 lines
575 B
PHP
--TEST--
|
|
Testing repated SessionHandler::open() calls
|
|
--SKIPIF--
|
|
<?php include('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
ini_set('session.save_handler', 'files');
|
|
$x = new SessionHandler;
|
|
$x->open('','');
|
|
$x->open('','');
|
|
$x->open('','');
|
|
$x->open('','');
|
|
|
|
print "Done!\n";
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: SessionHandler::open(): Session is not active in %s on line 5
|
|
|
|
Warning: SessionHandler::open(): Session is not active in %s on line 6
|
|
|
|
Warning: SessionHandler::open(): Session is not active in %s on line 7
|
|
|
|
Warning: SessionHandler::open(): Session is not active in %s on line 8
|
|
Done!
|