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-- When calls to functions are recorded, and scoutapm_get_calls is not called, don't..
Decoded Output download
--TEST--
When calls to functions are recorded, and scoutapm_get_calls is not called, don't leak memory
--SKIPIF--
<?php if (!extension_loaded("scoutapm")) die("skip scoutapm extension required."); ?>
<?php if (!defined("PHP_DEBUG") || PHP_DEBUG != 1) die("skip Recompile PHP with --enable-debug."); ?>
--FILE--
<?php
scoutapm_enable_instrumentation(true);
file_put_contents(__FILE__ . ".x", file_get_contents(__FILE__));
unlink(__FILE__ . ".x");
echo "end";
?>
--EXPECTREGEX--
end((?!memory leaks detected).)*
Did this file decode correctly?
Original Code
--TEST--
When calls to functions are recorded, and scoutapm_get_calls is not called, don't leak memory
--SKIPIF--
<?php if (!extension_loaded("scoutapm")) die("skip scoutapm extension required."); ?>
<?php if (!defined("PHP_DEBUG") || PHP_DEBUG != 1) die("skip Recompile PHP with --enable-debug."); ?>
--FILE--
<?php
scoutapm_enable_instrumentation(true);
file_put_contents(__FILE__ . ".x", file_get_contents(__FILE__));
unlink(__FILE__ . ".x");
echo "end";
?>
--EXPECTREGEX--
end((?!memory leaks detected).)*
Function Calls
defined | 1 |
extension_loaded | 1 |
Stats
MD5 | b4f4d03127a1433aa4ef66cf65627ddc |
Eval Count | 0 |
Decode Time | 70 ms |