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