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 #30161 (Segmentation fault with exceptions) --FILE-- <?php class FIIFO { ..

Decoded Output download

--TEST--
Bug #30161 (Segmentation fault with exceptions)
--FILE--
<?php
class FIIFO {

        public function __construct() {
                throw new Exception;
        }

}

class hariCow extends FIIFO {

        public function __construct() {
                try {
                        parent::__construct();
                } catch(Exception $e) {
                }
        }

        public function __toString() {
                return "ok
";
        }

}


$db = new hariCow;

echo $db;
?>
--EXPECT--
ok

Did this file decode correctly?

Original Code

--TEST--
Bug #30161 (Segmentation fault with exceptions)
--FILE--
<?php
class FIIFO {

        public function __construct() {
                throw new Exception;
        }

}

class hariCow extends FIIFO {

        public function __construct() {
                try {
                        parent::__construct();
                } catch(Exception $e) {
                }
        }

        public function __toString() {
                return "ok\n";
        }

}


$db = new hariCow;

echo $db;
?>
--EXPECT--
ok

Function Calls

None

Variables

None

Stats

MD5 82dd07de8a533cecb9e5d3701bc21cbb
Eval Count 0
Decode Time 99 ms