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-- setting hash_function to sha512 and hash_bits_per_character > 4 should not crash ..

Decoded Output download

--TEST--
setting hash_function to sha512 and hash_bits_per_character > 4 should not crash
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
session.use_cookies=0
session.cache_limiter=
session.serialize_handler=php
session.save_handler=files
session.hash_function=sha512
session.hash_bits_per_character=5
--FILE--
<?php
error_reporting(E_ALL);

session_start();
session_regenerate_id(TRUE);

print "I live
";
?>
--EXPECT--
I live

Did this file decode correctly?

Original Code

--TEST--
setting hash_function to sha512 and hash_bits_per_character > 4 should not crash
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
session.use_cookies=0
session.cache_limiter=
session.serialize_handler=php
session.save_handler=files
session.hash_function=sha512
session.hash_bits_per_character=5
--FILE--
<?php
error_reporting(E_ALL);

session_start();
session_regenerate_id(TRUE);

print "I live\n";
?>
--EXPECT--
I live

Function Calls

None

Variables

None

Stats

MD5 a1f4e3dbab58f0911e19b2c1b20ed73c
Eval Count 0
Decode Time 94 ms