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-- register_tick_function() & closure --FILE-- <?php declare (ticks = 1); $i = 0; ..

Decoded Output download

--TEST--
register_tick_function() & closure
--FILE--
<?php

declare (ticks = 1);

$i = 0;
register_tick_function(function () use (&$i) { $i++; });

echo "Test
";
echo "$i
";
echo "$i
";
var_dump ($i != 0);
echo "$i
";
echo "Done
";

?>
--EXPECTF--
Test
%d
%d
bool(true)
%d
Done

Did this file decode correctly?

Original Code

--TEST--
register_tick_function() & closure
--FILE--
<?php

declare (ticks = 1);

$i = 0;
register_tick_function(function () use (&$i) { $i++; });

echo "Test\n";
echo "$i\n";
echo "$i\n";
var_dump ($i != 0);
echo "$i\n";
echo "Done\n";

?>
--EXPECTF--
Test
%d
%d
bool(true)
%d
Done

Function Calls

None

Variables

None

Stats

MD5 2b17dc9c105cd3b9f86c080da887c5d3
Eval Count 0
Decode Time 128 ms