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-- Bug #60261 (phar dos null pointer) --EXTENSIONS-- phar --FILE-- <?php try { ..

Decoded Output download

--TEST--
Bug #60261 (phar dos null pointer)
--EXTENSIONS--
phar
--FILE--
<?php

try {
    $nx = new Phar();
    $nx->getLinkTarget();
} catch (TypeError $e) {
    echo $e->getMessage(), "
";
}

?>
--EXPECT--
Phar::__construct() expects at least 1 argument, 0 given

Did this file decode correctly?

Original Code

--TEST--
Bug #60261 (phar dos null pointer)
--EXTENSIONS--
phar
--FILE--
<?php

try {
    $nx = new Phar();
    $nx->getLinkTarget();
} catch (TypeError $e) {
    echo $e->getMessage(), "\n";
}

?>
--EXPECT--
Phar::__construct() expects at least 1 argument, 0 given

Function Calls

None

Variables

None

Stats

MD5 6df0d2b4c0db1eb252d98942e65568ae
Eval Count 0
Decode Time 84 ms