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-- Inlining through call_user_func() --INI-- opcache.enable=1 opcache.enable_cli=1 o..

Decoded Output download

--TEST--
Inlining through call_user_func()
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--EXTENSIONS--
opcache
--FILE--
<?php
function get_const() {
    return 42;
}

function test() {
    $x = new stdClass;
    var_dump(call_user_func('get_const', $x));
}

test();
?>
--EXPECT--
int(42)

Did this file decode correctly?

Original Code

--TEST--
Inlining through call_user_func()
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--EXTENSIONS--
opcache
--FILE--
<?php
function get_const() {
    return 42;
}

function test() {
    $x = new stdClass;
    var_dump(call_user_func('get_const', $x));
}

test();
?>
--EXPECT--
int(42)

Function Calls

test 1

Variables

None

Stats

MD5 272847e53c69b2e2b287672ecdc62f47
Eval Count 0
Decode Time 103 ms