blob: d1f7e2f3865163620d36b3f097d11860e2feab97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--TEST--
Test session_status() function : active, none
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
ob_start();
echo "*** Testing session_status() : active, none\n";
var_dump(PHP_SESSION_NONE != PHP_SESSION_ACTIVE);
var_dump(session_status() == PHP_SESSION_NONE);
session_start();
var_dump(session_status() == PHP_SESSION_ACTIVE);
?>
--EXPECTF--
*** Testing session_status() : active, none
bool(true)
bool(true)
bool(true)
|