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