Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php $GX = array(); if (PHP_VERSION_ID >= 70000) { goto G7; } $GX[] = "\x59\..

Decoded Output download

<?php 
 
 
$GX = array(); 
if (PHP_VERSION_ID >= 70000) { 
    goto G7; 
} 
$GX[] = "Your Composer dependencies require a PHP version ">= 7.0.0". You are running " . PHP_VERSION . "."; 
G7: 
if (!$GX) { 
    goto Pc; 
} 
if (headers_sent()) { 
    goto TP; 
} 
header("HTTP/1.1 500 Internal Server Error"); 
TP: 
if (ini_get("display_errors")) { 
    goto Ia; 
} 
if (PHP_SAPI === "cli" || PHP_SAPI === "phpdbg") { 
    goto jP; 
} 
if (!headers_sent()) { 
    goto yk; 
} 
goto Ga; 
jP: 
fwrite(STDERR, "Composer detected issues in your platform:" . PHP_EOL . PHP_EOL . implode(PHP_EOL, $GX) . PHP_EOL . PHP_EOL); 
goto Ga; 
yk: 
echo "Composer detected issues in your platform:" . PHP_EOL . PHP_EOL . str_replace("You are running " . PHP_VERSION . ".", '', implode(PHP_EOL, $GX)) . PHP_EOL . PHP_EOL; 
Ga: 
Ia: 
trigger_error("Composer detected issues in your platform: " . implode(" ", $GX), E_USER_ERROR); 
Pc: ?>

Did this file decode correctly?

Original Code

<?php


$GX = array();
if (PHP_VERSION_ID >= 70000) {
    goto G7;
}
$GX[] = "\x59\157\x75\162\40\x43\157\x6d\160\x6f\x73\x65\162\40\x64\x65\x70\x65\x6e\x64\145\156\143\x69\145\x73\40\162\x65\x71\165\151\162\145\x20\x61\x20\x50\110\120\x20\166\x65\162\163\151\157\x6e\40\42\x3e\x3d\40\x37\56\x30\56\60\x22\x2e\40\x59\x6f\165\x20\x61\x72\x65\40\162\x75\156\x6e\x69\x6e\147\40" . PHP_VERSION . "\56";
G7:
if (!$GX) {
    goto Pc;
}
if (headers_sent()) {
    goto TP;
}
header("\x48\x54\x54\x50\x2f\x31\56\x31\40\65\x30\60\x20\111\156\x74\145\162\x6e\x61\x6c\40\x53\145\162\166\145\162\40\x45\x72\162\157\x72");
TP:
if (ini_get("\x64\151\x73\160\154\x61\x79\137\x65\162\x72\157\x72\163")) {
    goto Ia;
}
if (PHP_SAPI === "\x63\154\151" || PHP_SAPI === "\x70\x68\x70\144\142\x67") {
    goto jP;
}
if (!headers_sent()) {
    goto yk;
}
goto Ga;
jP:
fwrite(STDERR, "\103\x6f\x6d\160\x6f\163\145\162\x20\144\145\x74\x65\x63\x74\x65\144\x20\151\x73\163\x75\145\163\x20\x69\156\x20\171\x6f\x75\x72\x20\x70\154\x61\x74\146\x6f\x72\x6d\72" . PHP_EOL . PHP_EOL . implode(PHP_EOL, $GX) . PHP_EOL . PHP_EOL);
goto Ga;
yk:
echo "\103\x6f\155\160\157\x73\x65\162\x20\x64\x65\x74\x65\x63\164\x65\144\40\x69\x73\x73\x75\145\x73\x20\x69\x6e\x20\171\x6f\165\x72\x20\160\x6c\x61\164\146\x6f\162\x6d\72" . PHP_EOL . PHP_EOL . str_replace("\131\157\x75\40\141\162\x65\x20\x72\x75\156\x6e\x69\156\147\40" . PHP_VERSION . "\x2e", '', implode(PHP_EOL, $GX)) . PHP_EOL . PHP_EOL;
Ga:
Ia:
trigger_error("\x43\x6f\x6d\x70\x6f\163\x65\x72\x20\x64\x65\x74\x65\143\x74\145\144\x20\x69\x73\x73\x75\145\163\40\x69\156\40\171\157\x75\x72\x20\160\154\x61\164\146\x6f\x72\155\x3a\40" . implode("\40", $GX), E_USER_ERROR);
Pc:

Function Calls

None

Variables

None

Stats

MD5 41866ec34057c08a00eb0ecb9c28b3d1
Eval Count 0
Decode Time 57 ms