dis-bench / src /php /php-src /ext /session /tests /bug66827.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
244 Bytes
--TEST--
Bug #66827: Session raises E_NOTICE when session name variable is array.
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
$_COOKIE[session_name()] = array();
session_start();
echo 'OK';
?>
--EXPECT--
OK