Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Bug #66827: Session raises E_NOTICE when session name variable is array. --EXTENS..

Decoded Output download

--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

Did this file decode correctly?

Original Code

--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

Function Calls

None

Variables

None

Stats

MD5 96c1f0f856e99569d271c166c7396294
Eval Count 0
Decode Time 98 ms