mirror of
https://github.com/php/php-src.git
synced 2024-12-04 15:23:44 +08:00
18 lines
322 B
PHP
18 lines
322 B
PHP
--TEST--
|
|
Test session_status() function : disabled
|
|
--SKIPIF--
|
|
<?php include('skipif.inc'); ?>
|
|
--INI--
|
|
session.save_handler=non-existent
|
|
--FILE--
|
|
<?php
|
|
|
|
echo "*** Testing session_status() : disabled\n";
|
|
|
|
var_dump(session_status() == PHP_SESSION_DISABLED);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
*** Testing session_status() : disabled
|
|
bool(true)
|