xref: /PHP-7.1/ext/session/tests/bug66827.phpt (revision e946de29)
1--TEST--
2Bug #66827: Session raises E_NOTICE when session name variable is array.
3--INI--
4--SKIPIF--
5<?php include('skipif.inc'); ?>
6--FILE--
7<?php
8$_COOKIE[session_name()] = array();
9session_start();
10echo 'OK';
11--EXPECTF--
12OK
13