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 #77215: CFG assertion failure on multiple finalizing switch frees in one bloc..

Decoded Output download

--TEST--
Bug #77215: CFG assertion failure on multiple finalizing switch frees in one block
--INI--
opcache.enable_cli=1
opcache.optimization_level=-1
--EXTENSIONS--
opcache
--FILE--
<?php

function _crash($eValeur) {
    switch ($eValeur["a"]) {
        default:
            switch($eValeur["a"]) {
                default:
                    return 2;
            }
    }
}

var_dump(_crash(["a" => "b"]));
?>
--EXPECT--
int(2)

Did this file decode correctly?

Original Code

--TEST--
Bug #77215: CFG assertion failure on multiple finalizing switch frees in one block
--INI--
opcache.enable_cli=1
opcache.optimization_level=-1
--EXTENSIONS--
opcache
--FILE--
<?php

function _crash($eValeur) {
    switch ($eValeur["a"]) {
        default:
            switch($eValeur["a"]) {
                default:
                    return 2;
            }
    }
}

var_dump(_crash(["a" => "b"]));
?>
--EXPECT--
int(2)

Function Calls

None

Variables

None

Stats

MD5 72bf609d1b528a5f97a464969a6077c4
Eval Count 0
Decode Time 84 ms