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-- method_exists() on non-existent class, with __autoload(). --FILE-- <?php spl_auto..

Decoded Output download

--TEST--
method_exists() on non-existent class, with __autoload().
--FILE--
<?php
spl_autoload_register(function ($name) {
    echo "In autoload($name)
";
});

var_dump(method_exists('UndefC', 'func'));

echo "Done";
?>
--EXPECT--
In autoload(UndefC)
bool(false)
Done

Did this file decode correctly?

Original Code

--TEST--
method_exists() on non-existent class, with __autoload().
--FILE--
<?php
spl_autoload_register(function ($name) {
    echo "In autoload($name)\n";
});

var_dump(method_exists('UndefC', 'func'));

echo "Done";
?>
--EXPECT--
In autoload(UndefC)
bool(false)
Done

Function Calls

None

Variables

None

Stats

MD5 9977bfb1249a19e6b394a9756c8324d3
Eval Count 0
Decode Time 101 ms