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-- Test 5 --SKIPIF-- <?php if (!extension_loaded("ahocorasick")) print "skip"; ?> --..

Decoded Output download

--TEST--
Test 5
--SKIPIF--
<?php if (!extension_loaded("ahocorasick")) print "skip"; ?>
--FILE--
<?php
ini_set("xdebug.var_display_max_depth", 10);
ini_set("xdebug.var_display_max_children", 1000);
ini_set("xdebug.var_display_max_data", 1000);

$data = [
    ["key" => "", "value" => ""],
    ["key" => "", "value" => ""]
];

$list = [
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    ""
];

$c = ahocorasick_init($data);
foreach ($list as $keyword) {
    var_dump($keyword);
    $matchedAddressList = ahocorasick_match($keyword, $c);
}
?>
--EXPECT--

string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(30) ""
string(54) ""
string(36) ""

Did this file decode correctly?

Original Code

--TEST--
Test 5
--SKIPIF--
<?php if (!extension_loaded("ahocorasick")) print "skip"; ?>
--FILE--
<?php
ini_set("xdebug.var_display_max_depth", 10);
ini_set("xdebug.var_display_max_children", 1000);
ini_set("xdebug.var_display_max_data", 1000);

$data = [
    ["key" => "", "value" => ""],
    ["key" => "", "value" => ""]
];

$list = [
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    ""
];

$c = ahocorasick_init($data);
foreach ($list as $keyword) {
    var_dump($keyword);
    $matchedAddressList = ahocorasick_match($keyword, $c);
}
?>
--EXPECT--

string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(18) ""
string(30) ""
string(54) ""
string(36) ""

Function Calls

None

Variables

None

Stats

MD5 b03cb39da63a5bae4b6e5cde93a54378
Eval Count 0
Decode Time 76 ms