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-- Testing repated SessionHandler::open() calls --EXTENSIONS-- session --SKIPIF-- <?..
Decoded Output download
--TEST--
Testing repated SessionHandler::open() calls
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
ini_set('session.save_handler', 'files');
$x = new SessionHandler;
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "
";
}
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "
";
}
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "
";
}
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "
";
}
print "Done!
";
?>
--EXPECT--
Session is not active
Session is not active
Session is not active
Session is not active
Done!
Did this file decode correctly?
Original Code
--TEST--
Testing repated SessionHandler::open() calls
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
ini_set('session.save_handler', 'files');
$x = new SessionHandler;
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "\n";
}
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "\n";
}
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "\n";
}
try {
$x->open('','');
} catch (Error $exception) {
echo $exception->getMessage() . "\n";
}
print "Done!\n";
?>
--EXPECT--
Session is not active
Session is not active
Session is not active
Session is not active
Done!
Function Calls
None |
Stats
MD5 | 081ab31ead392d821f88567a35b359a2 |
Eval Count | 0 |
Decode Time | 93 ms |