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-- Register Alloction 011: Missed type store --INI-- opcache.enable=1 opcache.enable..

Decoded Output download

--TEST--
Register Alloction 011: Missed type store
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function foo($y) {
    for ($cnt=0;$cnt<6;$cnt++) {
        $i = $y;
        for ($i=0;$i<1;)
            for(;$i<1;)
                for(;$i<1;$i++)
                    for(;$y;);
                for($i=0;$i< 1;$i++)
                    for(;$y;);
    }
}
foo(null);
?>
DONE
--EXPECTF--
DONE

Did this file decode correctly?

Original Code

--TEST--
Register Alloction 011: Missed type store
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function foo($y) {
    for ($cnt=0;$cnt<6;$cnt++) {
        $i = $y;
        for ($i=0;$i<1;)
            for(;$i<1;)
                for(;$i<1;$i++)
                    for(;$y;);
                for($i=0;$i< 1;$i++)
                    for(;$y;);
    }
}
foo(null);
?>
DONE
--EXPECTF--
DONE

Function Calls

foo 1

Variables

$i 1
$y 0
$cnt 6

Stats

MD5 eb42e3cbead6998641ec92005e82e489
Eval Count 0
Decode Time 193 ms