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_commit() function : variation --EXTENSIONS-- session --SKIPIF-- <?ph..
Decoded Output download
--TEST--
Test session_commit() function : variation
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
ob_start();
echo "*** Testing session_commit() : variation ***
";
var_dump(session_start());
var_dump(session_commit());
var_dump(session_commit());
var_dump(session_commit());
var_dump(session_commit());
var_dump(session_commit());
var_dump(session_start());
var_dump(session_destroy());
echo "Done";
ob_end_flush();
?>
--EXPECT--
*** Testing session_commit() : variation ***
bool(true)
bool(true)
bool(false)
bool(false)
bool(false)
bool(false)
bool(true)
bool(true)
Done
Did this file decode correctly?
Original Code
--TEST--
Test session_commit() function : variation
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
ob_start();
echo "*** Testing session_commit() : variation ***\n";
var_dump(session_start());
var_dump(session_commit());
var_dump(session_commit());
var_dump(session_commit());
var_dump(session_commit());
var_dump(session_commit());
var_dump(session_start());
var_dump(session_destroy());
echo "Done";
ob_end_flush();
?>
--EXPECT--
*** Testing session_commit() : variation ***
bool(true)
bool(true)
bool(false)
bool(false)
bool(false)
bool(false)
bool(true)
bool(true)
Done
Function Calls
None |
Stats
MD5 | efc7efb588ccb4f96ceea04db2080dd4 |
Eval Count | 0 |
Decode Time | 74 ms |