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 #74833 Session module number is uninitialized when SID is reset --EXTENSIONS-..

Decoded Output download

--TEST--
Bug #74833 Session module number is uninitialized when SID is reset
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php

ob_start();

session_start();
session_regenerate_id();
$c = get_defined_constants(true);
/* Ensure the SID constant has correct module number. */
var_dump(isset($c['session']['SID']));

ob_end_flush();
?>
--EXPECT--
bool(true)

Did this file decode correctly?

Original Code

--TEST--
Bug #74833 Session module number is uninitialized when SID is reset
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php

ob_start();

session_start();
session_regenerate_id();
$c = get_defined_constants(true);
/* Ensure the SID constant has correct module number. */
var_dump(isset($c['session']['SID']));

ob_end_flush();
?>
--EXPECT--
bool(true)

Function Calls

None

Variables

None

Stats

MD5 7b5e5e3d1d8d036b38e2ccd01751e30e
Eval Count 0
Decode Time 94 ms