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-- Switch where all targets, including default, coincide --EXTENSIONS-- opcache --FI..
Decoded Output download
--TEST--
Switch where all targets, including default, coincide
--EXTENSIONS--
opcache
--FILE--
<?php
$foo = 42.0;
$bar = true;
switch ($foo) {
default:
case 0: case 1: case 2: case 3:
if ($bar) {
echo "true
";
} else {
echo "false
";
}
}
?>
--EXPECT--
true
Did this file decode correctly?
Original Code
--TEST--
Switch where all targets, including default, coincide
--EXTENSIONS--
opcache
--FILE--
<?php
$foo = 42.0;
$bar = true;
switch ($foo) {
default:
case 0: case 1: case 2: case 3:
if ($bar) {
echo "true\n";
} else {
echo "false\n";
}
}
?>
--EXPECT--
true
Function Calls
None |
Stats
MD5 | 2cefb965e34ce0033d51acaae98bee2a |
Eval Count | 0 |
Decode Time | 95 ms |