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-- Test session_module_name() function : variation --EXTENSIONS-- session --SKIPIF--..
Decoded Output download
--TEST--
Test session_module_name() function : variation
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
ob_start();
echo "*** Testing session_module_name() : variation ***
";
var_dump(session_module_name("blah"));
var_dump(session_start());
var_dump(session_module_name());
var_dump(session_destroy());
var_dump(session_module_name());
echo "Done";
ob_end_flush();
?>
--EXPECTF--
*** Testing session_module_name() : variation ***
Warning: session_module_name(): Session handler module "blah" cannot be found in %s on line %d
bool(false)
bool(true)
string(%d) "%s"
bool(true)
string(%d) "%s"
Done
Did this file decode correctly?
Original Code
--TEST--
Test session_module_name() function : variation
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
ob_start();
echo "*** Testing session_module_name() : variation ***\n";
var_dump(session_module_name("blah"));
var_dump(session_start());
var_dump(session_module_name());
var_dump(session_destroy());
var_dump(session_module_name());
echo "Done";
ob_end_flush();
?>
--EXPECTF--
*** Testing session_module_name() : variation ***
Warning: session_module_name(): Session handler module "blah" cannot be found in %s on line %d
bool(false)
bool(true)
string(%d) "%s"
bool(true)
string(%d) "%s"
Done
Function Calls
None |
Stats
MD5 | 0376bc27857c2293d013c5d354394e00 |
Eval Count | 0 |
Decode Time | 88 ms |