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 #48228 (crash when exception is thrown while passing function arguments) --FI..

Decoded Output download

--TEST--
Bug #48228 (crash when exception is thrown while passing function arguments)
--FILE--
<?php

function do_throw() {
    throw new Exception();
}

class aa
{
    function check()
    {
    }

    function dosome()
    {
        $this->check(do_throw());
    }
}
$l_aa=new aa();

$l_aa->dosome();
?>
--EXPECTF--
Fatal error: Uncaught Exception in %s
Stack trace:
#0 %s(%d): do_throw()
#1 %s(%d): aa->dosome()
#2 {main}
  thrown in %s

Did this file decode correctly?

Original Code

--TEST--
Bug #48228 (crash when exception is thrown while passing function arguments)
--FILE--
<?php

function do_throw() {
    throw new Exception();
}

class aa
{
    function check()
    {
    }

    function dosome()
    {
        $this->check(do_throw());
    }
}
$l_aa=new aa();

$l_aa->dosome();
?>
--EXPECTF--
Fatal error: Uncaught Exception in %s
Stack trace:
#0 %s(%d): do_throw()
#1 %s(%d): aa->dosome()
#2 {main}
  thrown in %s

Function Calls

None

Variables

None

Stats

MD5 0da7d7acea5c7d9a27232aad9affcb4b
Eval Count 0
Decode Time 130 ms