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-- Check that phi use chains are correctly maintained when removing blocks --EXTENSI..
Decoded Output download
--TEST--
Check that phi use chains are correctly maintained when removing blocks
--EXTENSIONS--
opcache
--FILE--
<?php
function test(array $adapters) {
foreach ($adapters as $adapter) {
if (\in_array('cli-server', ['cli', 'phpdbg'], true) && $adapter instanceof stdClass && !ilter_var('1', \FILTER_VALIDATE_BOOLEAN)) {
continue;
}
$adapters[] = $adapter;
}
}
?>
===DONE===
--EXPECT--
===DONE===
Did this file decode correctly?
Original Code
--TEST--
Check that phi use chains are correctly maintained when removing blocks
--EXTENSIONS--
opcache
--FILE--
<?php
function test(array $adapters) {
foreach ($adapters as $adapter) {
if (\in_array('cli-server', ['cli', 'phpdbg'], true) && $adapter instanceof stdClass && !\filter_var('1', \FILTER_VALIDATE_BOOLEAN)) {
continue;
}
$adapters[] = $adapter;
}
}
?>
===DONE===
--EXPECT--
===DONE===
Function Calls
None |
Stats
MD5 | a872eff148b44d83bc7fbda44d89b444 |
Eval Count | 0 |
Decode Time | 97 ms |