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