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-- Executing a closure/anonymous function does not crash --SKIPIF-- <?php if (!exten..
Decoded Output download
--TEST--
Executing a closure/anonymous function does not crash
--SKIPIF--
<?php if (!extension_loaded("scoutapm")) die("skip scoutapm extension required."); ?>
--FILE--
<?php
scoutapm_enable_instrumentation(true);
$func = function () {
echo "Anonymous function called.
";
};
$func();
echo "End.
";
?>
--EXPECTF--
Anonymous function called.
End.
Did this file decode correctly?
Original Code
--TEST--
Executing a closure/anonymous function does not crash
--SKIPIF--
<?php if (!extension_loaded("scoutapm")) die("skip scoutapm extension required."); ?>
--FILE--
<?php
scoutapm_enable_instrumentation(true);
$func = function () {
echo "Anonymous function called.\n";
};
$func();
echo "End.\n";
?>
--EXPECTF--
Anonymous function called.
End.
Function Calls
extension_loaded | 1 |
scoutapm_enable_instrumentation | 1 |
Stats
MD5 | 7d19f3ba34eab0c6f8925c8020831f25 |
Eval Count | 0 |
Decode Time | 102 ms |