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 #73273: session_unset() empties values from all variables in which is $_sessi..
Decoded Output download
--TEST--
Bug #73273: session_unset() empties values from all variables in which is $_session stored
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
session_start();
$_SESSION['test'] = true;
$var = $_SESSION;
session_unset();
var_dump($var);
?>
--EXPECT--
array(1) {
["test"]=>
bool(true)
}
Did this file decode correctly?
Original Code
--TEST--
Bug #73273: session_unset() empties values from all variables in which is $_session stored
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
session_start();
$_SESSION['test'] = true;
$var = $_SESSION;
session_unset();
var_dump($var);
?>
--EXPECT--
array(1) {
["test"]=>
bool(true)
}
Function Calls
None |
Stats
MD5 | 45347d5fcf59d1a8afad0cb6f8f0bda4 |
Eval Count | 0 |
Decode Time | 115 ms |