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 #54395 (Phar::mount() crashes when calling with wrong parameters) --EXTENSION..

Decoded Output download

--TEST--
Bug #54395 (Phar::mount() crashes when calling with wrong parameters)
--EXTENSIONS--
phar
--FILE--
<?php

try {
    phar::mount(1,1);
} catch (Exception $e) {
    var_dump($e->getMessage());
}

?>
--EXPECT--
string(25) "Mounting of 1 to 1 failed"

Did this file decode correctly?

Original Code

--TEST--
Bug #54395 (Phar::mount() crashes when calling with wrong parameters)
--EXTENSIONS--
phar
--FILE--
<?php

try {
    phar::mount(1,1);
} catch (Exception $e) {
    var_dump($e->getMessage());
}

?>
--EXPECT--
string(25) "Mounting of 1 to 1 failed"

Function Calls

None

Variables

None

Stats

MD5 7c04a647314d7a48dbf6b24b87317e36
Eval Count 0
Decode Time 106 ms