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