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 /** * This file is a part of the miniorange-saml-20-single-sign-on plugin. * ..

Decoded Output download

<?php 
/** 
 * This file is a part of the miniorange-saml-20-single-sign-on plugin. 
 * 
 * @link https://plugins.miniorange.com/ 
 * @author miniOrange 
 * @package miniorange-saml-20-single-sign-on 
 */ 
 
 
abstract class BasicEnum 
{ 
    private static $constCacheArray = NULL; 
    public static function getConstants() 
    { 
        if (!(self::$constCacheArray == NULL)) { 
            goto ny; 
        } 
        self::$constCacheArray = array(); 
        ny: 
        $M_ = get_called_class(); 
        if (array_key_exists($M_, self::$constCacheArray)) { 
            goto T0; 
        } 
        $qA = new ReflectionClass($M_); 
        self::$constCacheArray[$M_] = $qA->getConstants(); 
        T0: 
        return self::$constCacheArray[$M_]; 
    } 
    public static function isValidName($TK, $Ud = false) 
    { 
        $cr = self::getConstants(); 
        if (!$Ud) { 
            goto vP; 
        } 
        return !empty($cr[$TK]); 
        vP: 
        $mz = array_map("strtolower", array_keys($cr)); 
        return Utilities::mo_saml_in_array(strtolower($TK), $mz); 
    } 
    public static function isValidValue($Hr, $Ud = true) 
    { 
        $Gu = array_values(self::getConstants()); 
        return Utilities::mo_saml_in_array($Hr, $Gu, $Ud); 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * This file is a part of the miniorange-saml-20-single-sign-on plugin.
 *
 * @link https://plugins.miniorange.com/
 * @author miniOrange
 * @package miniorange-saml-20-single-sign-on
 */


abstract class BasicEnum
{
    private static $constCacheArray = NULL;
    public static function getConstants()
    {
        if (!(self::$constCacheArray == NULL)) {
            goto ny;
        }
        self::$constCacheArray = array();
        ny:
        $M_ = get_called_class();
        if (array_key_exists($M_, self::$constCacheArray)) {
            goto T0;
        }
        $qA = new ReflectionClass($M_);
        self::$constCacheArray[$M_] = $qA->getConstants();
        T0:
        return self::$constCacheArray[$M_];
    }
    public static function isValidName($TK, $Ud = false)
    {
        $cr = self::getConstants();
        if (!$Ud) {
            goto vP;
        }
        return !empty($cr[$TK]);
        vP:
        $mz = array_map("\163\164\162\x74\157\x6c\x6f\x77\145\x72", array_keys($cr));
        return Utilities::mo_saml_in_array(strtolower($TK), $mz);
    }
    public static function isValidValue($Hr, $Ud = true)
    {
        $Gu = array_values(self::getConstants());
        return Utilities::mo_saml_in_array($Hr, $Gu, $Ud);
    }
}

Function Calls

None

Variables

None

Stats

MD5 7091b7d2b6bf00fde959105daa598540
Eval Count 0
Decode Time 112 ms