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 /* testBracesAndColon */ switch ($var[10]) { case TEST_COLON: brea..

Decoded Output download

<?php 
 
/* testBracesAndColon */ 
switch ($var[10]) { 
    case TEST_COLON: 
        break; 
} 
 
/* testNamedParamColon */ 
callMe(name: $var); 
 
/* testReturnTypeColon */ 
$closure = function(): Type {}; 
 
/* testConcat */ 
echo 'text' . $var; 
 
/* testSimpleMathTokens */ 
$a = 10 * 3 / 2 + 5 - 4 % 2; 
 
/* testUnaryPlusMinus */ 
$a = +10 / -1; 
 
/* testBitwiseTokens */ 
$a = CONST_A ^ CONST_B & CONST_C | CONST_D ~ CONST_E; 
 
try { 
/* testBitwiseOrInCatch */ 
} catch ( Exception_A | Exception_B $e ) { 
} 
 
/* testLessThan */ 
$a = 10 < $var; 
 
/* testGreaterThan */ 
$a = 10 > $var; 
 
/* testBooleanNot */ 
$a = ! $var; 
 
/* testComma */ 
echo $a, $b, $c; 
 
/* testAsperand */ 
$a = @callMe(); 
 
/* testDollarAndCurlies */ 
echo ${$var}; 
 
/* testBacktick */ 
$a = `ls -e`; 
 ?>

Did this file decode correctly?

Original Code

<?php

/* testBracesAndColon */
switch ($var[10]) {
    case TEST_COLON:
        break;
}

/* testNamedParamColon */
callMe(name: $var);

/* testReturnTypeColon */
$closure = function(): Type {};

/* testConcat */
echo 'text' . $var;

/* testSimpleMathTokens */
$a = 10 * 3 / 2 + 5 - 4 % 2;

/* testUnaryPlusMinus */
$a = +10 / -1;

/* testBitwiseTokens */
$a = CONST_A ^ CONST_B & CONST_C | CONST_D ~ CONST_E;

try {
/* testBitwiseOrInCatch */
} catch ( Exception_A | Exception_B $e ) {
}

/* testLessThan */
$a = 10 < $var;

/* testGreaterThan */
$a = 10 > $var;

/* testBooleanNot */
$a = ! $var;

/* testComma */
echo $a, $b, $c;

/* testAsperand */
$a = @callMe();

/* testDollarAndCurlies */
echo ${$var};

/* testBacktick */
$a = `ls -e`;

Function Calls

None

Variables

None

Stats

MD5 201345538b04b6e8d13dc2c75600424e
Eval Count 0
Decode Time 30 ms