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 namespace Drupal\rest_api_authentication; use Exception; class DBQueries {..

Decoded Output download

<?php 
 
 
namespace Drupal
est_api_authentication; 
 
use Exception; 
class DBQueries 
{ 
    public static function checkUser($Z9) 
    { 
        if (self::isTableExists("rest_api_authentication_token")) { 
            goto Hn; 
        } 
        self::createTable(); 
        Hn: 
        if (self::isFieldExists("rest_api_authentication_token", "user_id_val")) { 
            goto dQ; 
        } 
        self::insertColumn("user_id_val"); 
        dQ: 
        $z8 = \Drupal::database(); 
        $zc = $z8->select("rest_api_authentication_token", "rest_find_user")->fields("rest_find_user")->condition("rest_find_user.user_id_val", $Z9, "="); 
        $B5 = $zc->countQuery()->execute()->fetchField(); 
        if (!($B5 > 0)) { 
            goto j2; 
        } 
        return TRUE; 
        j2: 
        return FALSE; 
    } 
    public static function insert_user_in_table($Z9) 
    { 
        $Wy = \Drupal::database(); 
        $HX = array("user_id_val" => $Z9); 
        try { 
            $Wy->insert("rest_api_authentication_token")->fields($HX)->execute(); 
        } catch (Exception $JY) { 
            \Drupal::logger("rest_api_authentication")->notice($JY->getMessage()); 
        } 
    } 
    public static function insert_access_token_with_user_id($Z9, $x0, $Dn) 
    { 
        if (self::isTableExists("rest_api_authentication_token")) { 
            goto EN; 
        } 
        self::createTable(); 
        EN: 
        if (self::isFieldExists("rest_api_authentication_token", "access_token")) { 
            goto p0; 
        } 
        self::insertColumn("access_token"); 
        p0: 
        if (self::isFieldExists("rest_api_authentication_token", "access_token_request_time")) { 
            goto g0; 
        } 
        self::insertColumn("access_token_request_time"); 
        g0: 
        $z8 = \Drupal::database(); 
        $R9 = $z8->update("rest_api_authentication_token")->fields(["access_token" => $x0, "access_token_request_time" => $Dn])->condition("user_id_val", $Z9, "=")->execute(); 
        return $R9; 
    } 
    public static function insert_id_token_with_user_id($Z9, $YP, $Dn) 
    { 
        if (self::isTableExists("rest_api_authentication_token")) { 
            goto oX; 
        } 
        self::createTable(); 
        oX: 
        if (self::isFieldExists("rest_api_authentication_token", "id_token")) { 
            goto r9; 
        } 
        self::insertColumn("id_token"); 
        r9: 
        if (self::isFieldExists("rest_api_authentication_token", "id_token_request_time")) { 
            goto EI; 
        } 
        self::insertColumn("id_token_request_time"); 
        EI: 
        $z8 = \Drupal::database(); 
        $gV = $z8->update("rest_api_authentication_token")->fields(["id_token" => $YP, "id_token_request_time" => $Dn])->condition("user_id_val", $Z9, "=")->execute(); 
        return $gV; 
    } 
    public static function get_user_id_from_access_token($lB) 
    { 
        if (self::isTableExists("rest_api_authentication_token")) { 
            goto w4; 
        } 
        self::createTable(); 
        w4: 
        if (self::isFieldExists("rest_api_authentication_token", "access_token")) { 
            goto bP; 
        } 
        self::insertColumn("access_token"); 
        bP: 
        $z8 = \Drupal::database(); 
        $t3 = $z8->query("SELECT * FROM {rest_api_authentication_token} where access_token = :access_token", [":access_token" => $lB]); 
        $user = $t3->fetchAssoc(); 
        return $user; 
    } 
    public static function get_user_id_from_id_token($iP) 
    { 
        if (self::isTableExists("rest_api_authentication_token")) { 
            goto go; 
        } 
        self::createTable(); 
        go: 
        if (self::isFieldExists("rest_api_authentication_token", "id_token")) { 
            goto yt; 
        } 
        self::insertColumn("id_token"); 
        yt: 
        $z8 = \Drupal::database(); 
        $t3 = $z8->query("SELECT * FROM {rest_api_authentication_token} where id_token = :id_token", [":id_token" => $iP]); 
        $user = $t3->fetchAssoc(); 
        return $user; 
    } 
    public static function createTable() 
    { 
        \Drupal::logger("my_module")->notice("in create table line 69"); 
        $KM = array("description" => t("User Tokens"), "fields" => array("id" => array("type" => "serial", "unsigned" => TRUE, "not null" => TRUE, "description" => t("S.No.: ")), "user_id_val" => array("type" => "int", "unsigned" => TRUE, "description" => t("The UserIn of the user.")), "access_token" => array("description" => "The access token.", "type" => "varchar", "length" => 256), "access_token_request_time" => array("description" => "The access token expiry time.", "type" => "varchar", "length" => 256, "not null" => FALSE), "id_token" => array("description" => "The id token.", "type" => "varchar", "length" => 2048), "id_token_request_time" => array("description" => "The id token expiry time.", "type" => "varchar", "length" => 256, "not null" => FALSE), "user_name" => array("description" => "The username of user", "type" => "varchar", "length" => 256), "api_key_request_time" => array("description" => "The api key expiry time", "type" => "varchar", "length" => 256)), "primary key" => array("id")); 
        $cg = \Drupal::database()->schema(); 
        try { 
            $cg->createTable("rest_api_authentication_token", $KM); 
        } catch (Exception $JY) { 
            \Drupal::logger("rest_api_authentication")->notice($JY->getMessage()); 
        } 
    } 
    public static function insertColumn($U0) 
    { 
        $cg = \Drupal::database()->schema(); 
        if ($U0 == "user_name") { 
            goto mw; 
        } 
        if ($U0 == "api_key_request_time") { 
            goto W0; 
        } 
        if ($U0 == "user_id_val") { 
            goto ux; 
        } 
        if ($U0 == "access_token") { 
            goto SE; 
        } 
        if ($U0 == "access_token_request_time") { 
            goto pR; 
        } 
        if ($U0 == "id_token") { 
            goto C6; 
        } 
        if (!($U0 == "id_token_request_time")) { 
            goto qa; 
        } 
        $dy = array("description" => "The id token expiry time.", "type" => "varchar", "length" => 256, "not null" => FALSE); 
        try { 
            $cg->addField("rest_api_authentication_token", "id_token_request_time", $dy); 
        } catch (Exception $JY) { 
            \Drupal::logger("rest_api_authentication")->notice($JY->getMessage()); 
        } 
        qa: 
        goto Lt; 
        C6: 
        $dy = array("description" => "The id token.", "type" => "varchar", "length" => 2048); 
        try { 
            $cg->addField("rest_api_authentication_token", "id_token", $dy); 
        } catch (Exception $JY) { 
            \Drupal::logger("rest_api_authentication")->notice($JY->getMessage()); 
        } 
        Lt: 
        goto m7; 
        pR: 
        $dy = array("description" => "The access token expiry time.", "type" => "varchar", "length" => 256, "not null" => FALSE); 
        try { 
            $cg->addField("rest_api_authentication_token", "access_token_request_time", $dy); 
        } catch (Exception $JY) { 
            \Drupal::logger("rest_api_authentication")->notice($JY->getMessage()); 
        } 
        m7: 
        goto aa; 
        SE: 
        $dy = array("description" => "The access token.", "type" => "varchar", "length" => 256); 
        try { 
            $cg->addField("rest_api_authentication_token", "access_token", $dy); 
        } catch (Exception $JY) { 
            \Drupal::logger("rest_api_authentication")->notice($JY->getMessage()); 
        } 
        aa: 
        goto sF; 
        ux: 
        $dy = array("type" => "int", "unsigned" => TRUE, "description" => t("The UserIn of the user.")); 
        try { 
            $cg->addField("rest_api_authentication_token", "user_id_val", $dy); 
        } catch (Exception $JY) { 
            \Drupal::logger("rest_api_authentication")->notice($JY->getMessage()); 
        } 
        sF: 
        goto hf; 
        W0: 
        $dy = array("description" => "The api key expiry time", "type" => "varchar", "length" => 256); 
        try { 
            $cg->addField("rest_api_authentication_token", "api_key_request_time", $dy); 
        } catch (Exception $JY) { 
            \Drupal::logger("rest_api_authentication")->notice($JY->getMessage()); 
        } 
        hf: 
        goto Mr; 
        mw: 
        $dy = array("description" => "The username of user", "type" => "varchar", "length" => 256); 
        try { 
            $cg->addField("rest_api_authentication_token", "user_name", $dy); 
        } catch (Exception $JY) { 
            \Drupal::logger("rest_api_authentication")->notice($JY->getMessage()); 
        } 
        Mr: 
    } 
    public static function isTableExists($s2) 
    { 
        $BL = \Drupal::database(); 
        return $BL->schema()->tableExists($s2); 
    } 
    public static function isFieldExists($s2, $U0) 
    { 
        $BL = \Drupal::database(); 
        return $BL->schema()->fieldExists($s2, $U0); 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php


namespace Drupal\rest_api_authentication;

use Exception;
class DBQueries
{
    public static function checkUser($Z9)
    {
        if (self::isTableExists("\162\x65\x73\x74\137\x61\x70\x69\x5f\141\165\x74\150\x65\x6e\164\151\143\141\x74\x69\x6f\156\137\x74\157\x6b\x65\156")) {
            goto Hn;
        }
        self::createTable();
        Hn:
        if (self::isFieldExists("\162\145\x73\164\x5f\x61\x70\151\137\x61\x75\x74\x68\x65\x6e\x74\x69\x63\141\164\151\157\156\137\164\x6f\153\x65\156", "\165\x73\x65\x72\137\x69\144\137\x76\x61\x6c")) {
            goto dQ;
        }
        self::insertColumn("\x75\163\x65\162\137\151\x64\x5f\166\141\154");
        dQ:
        $z8 = \Drupal::database();
        $zc = $z8->select("\162\145\x73\164\137\141\x70\x69\x5f\141\165\x74\x68\145\156\x74\151\x63\x61\x74\151\x6f\156\x5f\164\157\x6b\145\x6e", "\x72\145\163\164\137\x66\151\x6e\x64\137\x75\x73\145\162")->fields("\x72\x65\x73\164\137\146\151\x6e\x64\x5f\x75\163\x65\162")->condition("\x72\145\163\x74\137\x66\151\x6e\144\x5f\165\163\x65\x72\x2e\165\163\x65\162\137\x69\x64\137\x76\141\154", $Z9, "\75");
        $B5 = $zc->countQuery()->execute()->fetchField();
        if (!($B5 > 0)) {
            goto j2;
        }
        return TRUE;
        j2:
        return FALSE;
    }
    public static function insert_user_in_table($Z9)
    {
        $Wy = \Drupal::database();
        $HX = array("\x75\163\145\162\x5f\x69\x64\x5f\x76\141\154" => $Z9);
        try {
            $Wy->insert("\x72\145\163\164\137\141\x70\x69\x5f\x61\165\164\150\x65\156\x74\x69\143\x61\x74\x69\x6f\156\137\164\x6f\153\145\156")->fields($HX)->execute();
        } catch (Exception $JY) {
            \Drupal::logger("\x72\x65\163\x74\137\x61\160\x69\137\x61\x75\x74\150\145\x6e\164\x69\x63\x61\164\x69\x6f\156")->notice($JY->getMessage());
        }
    }
    public static function insert_access_token_with_user_id($Z9, $x0, $Dn)
    {
        if (self::isTableExists("\x72\x65\x73\164\x5f\x61\x70\151\137\141\165\164\x68\x65\156\x74\x69\143\x61\164\x69\157\x6e\x5f\164\x6f\153\145\156")) {
            goto EN;
        }
        self::createTable();
        EN:
        if (self::isFieldExists("\162\x65\x73\x74\x5f\141\160\x69\x5f\141\165\x74\x68\x65\156\x74\x69\143\141\x74\x69\157\156\137\x74\157\x6b\x65\156", "\x61\143\x63\145\163\x73\x5f\x74\x6f\153\x65\x6e")) {
            goto p0;
        }
        self::insertColumn("\x61\x63\x63\145\x73\x73\x5f\x74\x6f\x6b\x65\156");
        p0:
        if (self::isFieldExists("\x72\x65\163\164\x5f\141\x70\151\137\141\x75\x74\150\x65\156\x74\151\x63\141\x74\x69\157\x6e\x5f\164\x6f\x6b\145\156", "\x61\143\143\x65\163\x73\137\x74\157\x6b\145\x6e\137\162\145\161\165\145\163\164\137\x74\151\x6d\145")) {
            goto g0;
        }
        self::insertColumn("\x61\x63\143\145\163\163\x5f\164\x6f\x6b\145\x6e\x5f\x72\145\161\x75\x65\x73\x74\137\x74\151\x6d\145");
        g0:
        $z8 = \Drupal::database();
        $R9 = $z8->update("\162\x65\163\164\x5f\x61\160\151\137\x61\165\x74\150\145\x6e\x74\151\x63\141\x74\151\157\156\137\x74\157\153\x65\x6e")->fields(["\x61\x63\143\x65\x73\x73\137\x74\157\x6b\x65\x6e" => $x0, "\141\143\x63\x65\163\163\x5f\x74\157\153\x65\x6e\x5f\x72\x65\161\x75\x65\x73\164\x5f\x74\151\x6d\x65" => $Dn])->condition("\x75\x73\145\162\137\151\144\137\x76\x61\154", $Z9, "\x3d")->execute();
        return $R9;
    }
    public static function insert_id_token_with_user_id($Z9, $YP, $Dn)
    {
        if (self::isTableExists("\162\145\x73\x74\x5f\141\160\x69\x5f\141\165\x74\x68\x65\x6e\164\x69\x63\141\x74\x69\x6f\x6e\x5f\164\157\153\x65\x6e")) {
            goto oX;
        }
        self::createTable();
        oX:
        if (self::isFieldExists("\x72\145\x73\164\x5f\x61\x70\x69\137\141\165\x74\150\145\156\164\151\x63\x61\x74\x69\157\x6e\x5f\164\157\x6b\x65\156", "\151\144\137\x74\x6f\153\145\156")) {
            goto r9;
        }
        self::insertColumn("\151\x64\x5f\x74\157\x6b\x65\x6e");
        r9:
        if (self::isFieldExists("\162\x65\163\x74\137\141\x70\151\x5f\141\165\x74\150\145\156\164\x69\x63\x61\x74\x69\x6f\156\x5f\164\157\153\145\156", "\x69\144\137\x74\157\x6b\145\156\137\x72\x65\161\x75\x65\x73\164\x5f\x74\x69\155\145")) {
            goto EI;
        }
        self::insertColumn("\151\x64\x5f\x74\157\x6b\145\156\x5f\x72\145\161\165\145\x73\x74\x5f\x74\x69\x6d\145");
        EI:
        $z8 = \Drupal::database();
        $gV = $z8->update("\x72\145\x73\164\137\141\x70\x69\137\x61\165\x74\x68\x65\156\x74\x69\143\x61\x74\151\x6f\156\137\164\157\x6b\145\x6e")->fields(["\151\144\x5f\164\157\x6b\x65\x6e" => $YP, "\x69\144\137\164\157\153\145\156\x5f\x72\x65\x71\165\x65\163\x74\x5f\x74\x69\x6d\145" => $Dn])->condition("\165\163\145\162\137\x69\144\137\x76\141\x6c", $Z9, "\x3d")->execute();
        return $gV;
    }
    public static function get_user_id_from_access_token($lB)
    {
        if (self::isTableExists("\x72\145\x73\164\137\x61\x70\x69\137\x61\x75\x74\x68\145\156\x74\x69\143\x61\x74\151\157\x6e\137\164\x6f\153\x65\156")) {
            goto w4;
        }
        self::createTable();
        w4:
        if (self::isFieldExists("\162\x65\163\164\137\141\x70\x69\137\141\x75\164\x68\145\x6e\164\151\143\141\164\151\x6f\x6e\137\164\157\153\x65\156", "\141\143\143\x65\x73\163\x5f\x74\x6f\153\145\x6e")) {
            goto bP;
        }
        self::insertColumn("\x61\143\x63\x65\x73\x73\x5f\164\x6f\153\x65\156");
        bP:
        $z8 = \Drupal::database();
        $t3 = $z8->query("\123\105\114\105\103\x54\x20\x2a\40\x46\122\117\x4d\40\173\x72\x65\163\x74\137\x61\160\151\x5f\x61\x75\x74\x68\145\x6e\164\151\x63\141\x74\x69\157\156\137\164\x6f\153\145\x6e\175\40\x77\x68\x65\162\x65\x20\x61\x63\143\x65\x73\x73\137\x74\157\x6b\145\x6e\x20\75\40\x3a\x61\x63\x63\145\x73\163\x5f\164\157\x6b\145\x6e", ["\72\141\143\x63\145\163\x73\x5f\x74\157\x6b\145\x6e" => $lB]);
        $user = $t3->fetchAssoc();
        return $user;
    }
    public static function get_user_id_from_id_token($iP)
    {
        if (self::isTableExists("\162\145\163\x74\137\141\x70\151\137\x61\165\x74\150\x65\156\x74\x69\x63\x61\164\151\x6f\x6e\137\x74\157\153\145\x6e")) {
            goto go;
        }
        self::createTable();
        go:
        if (self::isFieldExists("\x72\145\163\164\137\141\x70\151\x5f\141\165\x74\x68\x65\x6e\164\x69\143\x61\164\151\x6f\x6e\137\x74\157\153\145\x6e", "\x69\x64\x5f\164\157\153\145\x6e")) {
            goto yt;
        }
        self::insertColumn("\151\x64\137\164\157\x6b\145\156");
        yt:
        $z8 = \Drupal::database();
        $t3 = $z8->query("\x53\105\114\x45\103\124\40\x2a\x20\106\122\117\115\x20\173\x72\145\163\x74\137\x61\160\151\137\141\x75\x74\150\145\x6e\164\x69\143\141\x74\x69\x6f\156\x5f\x74\x6f\153\145\156\175\40\x77\x68\x65\x72\x65\x20\x69\144\137\x74\x6f\x6b\x65\156\x20\x3d\x20\72\151\x64\x5f\x74\157\153\x65\156", ["\x3a\x69\144\137\x74\x6f\153\145\x6e" => $iP]);
        $user = $t3->fetchAssoc();
        return $user;
    }
    public static function createTable()
    {
        \Drupal::logger("\155\171\x5f\155\x6f\x64\x75\154\x65")->notice("\151\156\x20\143\162\x65\141\164\145\x20\x74\x61\x62\154\145\40\x6c\x69\156\145\x20\66\71");
        $KM = array("\x64\x65\x73\x63\162\151\x70\x74\x69\157\156" => t("\x55\163\x65\162\40\124\157\153\x65\156\x73"), "\146\151\x65\x6c\144\x73" => array("\151\x64" => array("\164\171\x70\145" => "\x73\145\x72\151\x61\x6c", "\165\156\x73\151\147\x6e\x65\x64" => TRUE, "\x6e\157\164\x20\156\x75\x6c\x6c" => TRUE, "\x64\x65\x73\143\162\151\160\164\151\157\156" => t("\x53\x2e\x4e\157\x2e\72\x20")), "\x75\x73\145\162\137\x69\144\137\166\141\x6c" => array("\164\171\x70\x65" => "\151\156\164", "\x75\x6e\163\x69\x67\156\x65\x64" => TRUE, "\x64\x65\163\143\x72\151\x70\164\151\157\x6e" => t("\124\x68\x65\x20\x55\163\145\162\x49\156\40\157\x66\40\x74\x68\145\x20\165\163\145\162\x2e")), "\x61\143\x63\x65\163\163\x5f\164\x6f\153\x65\156" => array("\x64\x65\x73\x63\x72\151\160\x74\x69\157\156" => "\x54\x68\145\40\141\x63\x63\145\163\x73\40\164\x6f\153\x65\x6e\56", "\164\171\160\145" => "\x76\x61\162\143\x68\x61\162", "\154\145\156\x67\x74\150" => 256), "\141\x63\143\x65\x73\x73\x5f\164\157\153\145\x6e\x5f\x72\145\x71\165\x65\163\x74\x5f\164\151\x6d\x65" => array("\144\x65\163\143\162\151\160\x74\x69\157\156" => "\x54\x68\x65\x20\x61\143\143\x65\x73\x73\40\x74\157\x6b\145\156\x20\145\x78\160\x69\162\x79\40\164\x69\x6d\145\56", "\x74\x79\x70\x65" => "\166\x61\162\x63\x68\x61\x72", "\154\145\156\147\x74\150" => 256, "\x6e\157\164\x20\x6e\165\x6c\x6c" => FALSE), "\x69\144\x5f\x74\x6f\x6b\x65\156" => array("\144\x65\163\143\162\x69\x70\x74\151\x6f\x6e" => "\x54\150\145\40\x69\144\40\164\x6f\x6b\x65\x6e\56", "\164\x79\x70\x65" => "\x76\x61\x72\x63\150\141\x72", "\x6c\145\x6e\147\x74\x68" => 2048), "\151\144\x5f\x74\x6f\x6b\x65\x6e\x5f\x72\145\161\x75\x65\163\164\x5f\164\151\x6d\x65" => array("\x64\145\163\143\162\151\160\164\151\x6f\156" => "\124\150\145\x20\151\x64\x20\164\157\x6b\x65\156\40\145\170\x70\x69\162\171\x20\164\151\x6d\x65\x2e", "\164\171\160\145" => "\x76\141\162\x63\x68\x61\x72", "\x6c\x65\x6e\147\164\150" => 256, "\156\157\x74\40\156\x75\x6c\x6c" => FALSE), "\x75\x73\x65\162\x5f\x6e\141\x6d\x65" => array("\x64\x65\x73\143\x72\x69\160\x74\151\x6f\x6e" => "\124\x68\145\40\x75\163\145\162\x6e\x61\155\145\40\157\146\x20\x75\x73\x65\x72", "\164\171\x70\145" => "\x76\x61\162\x63\x68\141\x72", "\x6c\x65\156\147\164\x68" => 256), "\x61\160\151\x5f\153\x65\x79\x5f\x72\x65\x71\x75\x65\x73\x74\137\164\151\x6d\x65" => array("\144\x65\163\143\162\151\160\164\151\157\156" => "\124\150\x65\40\141\x70\x69\x20\x6b\145\x79\40\145\170\x70\x69\162\x79\x20\x74\x69\x6d\x65", "\164\171\160\x65" => "\166\x61\x72\x63\150\x61\x72", "\x6c\x65\156\x67\164\150" => 256)), "\160\x72\x69\155\141\x72\171\x20\153\x65\171" => array("\151\144"));
        $cg = \Drupal::database()->schema();
        try {
            $cg->createTable("\162\x65\163\164\x5f\x61\x70\151\x5f\141\x75\164\150\x65\156\164\151\x63\x61\x74\x69\x6f\156\137\x74\x6f\153\x65\156", $KM);
        } catch (Exception $JY) {
            \Drupal::logger("\162\145\163\164\x5f\141\x70\151\x5f\141\165\164\x68\145\x6e\164\151\x63\x61\164\x69\x6f\x6e")->notice($JY->getMessage());
        }
    }
    public static function insertColumn($U0)
    {
        $cg = \Drupal::database()->schema();
        if ($U0 == "\x75\163\x65\162\137\156\141\x6d\x65") {
            goto mw;
        }
        if ($U0 == "\141\x70\x69\x5f\x6b\145\171\137\x72\x65\x71\165\x65\163\164\137\x74\x69\155\x65") {
            goto W0;
        }
        if ($U0 == "\165\x73\x65\162\137\151\144\x5f\166\x61\x6c") {
            goto ux;
        }
        if ($U0 == "\141\x63\143\x65\163\163\137\x74\x6f\x6b\145\x6e") {
            goto SE;
        }
        if ($U0 == "\x61\x63\143\145\x73\x73\137\x74\x6f\153\x65\x6e\137\x72\145\161\x75\145\x73\x74\x5f\164\x69\x6d\145") {
            goto pR;
        }
        if ($U0 == "\x69\x64\137\x74\157\x6b\x65\x6e") {
            goto C6;
        }
        if (!($U0 == "\x69\144\137\x74\x6f\x6b\145\156\x5f\162\145\x71\165\x65\163\x74\x5f\164\151\x6d\x65")) {
            goto qa;
        }
        $dy = array("\144\145\x73\143\162\151\x70\164\151\157\156" => "\x54\150\145\x20\151\x64\x20\164\x6f\x6b\145\x6e\40\145\x78\x70\x69\x72\171\40\x74\151\155\x65\56", "\x74\x79\160\145" => "\x76\141\x72\143\150\141\162", "\154\x65\156\x67\164\x68" => 256, "\x6e\157\164\40\156\x75\154\x6c" => FALSE);
        try {
            $cg->addField("\x72\145\163\164\x5f\x61\x70\151\x5f\141\165\x74\150\145\156\x74\151\x63\x61\x74\151\157\156\137\164\157\153\145\x6e", "\151\x64\137\x74\x6f\153\x65\x6e\x5f\x72\145\161\165\x65\x73\164\137\x74\x69\x6d\x65", $dy);
        } catch (Exception $JY) {
            \Drupal::logger("\x72\x65\163\x74\x5f\x61\x70\151\x5f\141\x75\164\150\145\x6e\164\x69\x63\141\x74\x69\157\156")->notice($JY->getMessage());
        }
        qa:
        goto Lt;
        C6:
        $dy = array("\144\x65\x73\x63\162\151\160\x74\151\x6f\x6e" => "\x54\x68\145\40\x69\x64\40\164\157\x6b\145\x6e\x2e", "\x74\171\x70\x65" => "\x76\141\x72\x63\x68\x61\x72", "\x6c\x65\x6e\147\x74\150" => 2048);
        try {
            $cg->addField("\162\x65\x73\x74\137\x61\x70\x69\137\141\165\164\150\x65\156\164\x69\x63\x61\164\x69\157\x6e\137\164\157\x6b\145\156", "\x69\144\137\164\157\153\x65\x6e", $dy);
        } catch (Exception $JY) {
            \Drupal::logger("\162\x65\x73\x74\137\141\160\151\x5f\141\x75\x74\150\145\156\164\x69\143\141\x74\151\x6f\x6e")->notice($JY->getMessage());
        }
        Lt:
        goto m7;
        pR:
        $dy = array("\144\x65\x73\143\x72\x69\160\164\x69\x6f\156" => "\x54\x68\x65\40\141\143\143\145\x73\163\x20\x74\x6f\153\145\x6e\x20\145\x78\x70\x69\x72\171\x20\x74\x69\x6d\145\56", "\x74\171\x70\145" => "\x76\141\162\143\x68\141\162", "\x6c\x65\x6e\x67\164\x68" => 256, "\156\x6f\x74\x20\156\x75\154\x6c" => FALSE);
        try {
            $cg->addField("\162\145\163\x74\x5f\141\160\151\x5f\141\165\x74\x68\x65\x6e\x74\151\143\141\x74\x69\x6f\156\137\x74\x6f\153\145\156", "\x61\x63\x63\x65\x73\x73\x5f\x74\157\153\x65\156\137\162\145\x71\x75\x65\x73\164\x5f\x74\151\155\145", $dy);
        } catch (Exception $JY) {
            \Drupal::logger("\162\145\163\x74\137\x61\x70\151\x5f\141\165\164\150\145\156\164\151\143\x61\x74\x69\157\x6e")->notice($JY->getMessage());
        }
        m7:
        goto aa;
        SE:
        $dy = array("\x64\x65\163\x63\162\x69\160\164\151\157\156" => "\x54\x68\x65\x20\x61\143\x63\x65\x73\x73\40\x74\x6f\x6b\145\156\56", "\x74\171\x70\x65" => "\x76\x61\162\143\x68\141\162", "\x6c\x65\x6e\147\164\150" => 256);
        try {
            $cg->addField("\x72\x65\163\x74\137\x61\x70\x69\x5f\x61\x75\164\x68\145\x6e\164\151\x63\x61\164\151\157\x6e\x5f\x74\157\153\145\x6e", "\x61\143\143\145\163\163\137\x74\x6f\153\x65\x6e", $dy);
        } catch (Exception $JY) {
            \Drupal::logger("\x72\x65\x73\x74\x5f\141\160\151\137\x61\165\164\150\x65\156\164\x69\x63\x61\x74\x69\x6f\156")->notice($JY->getMessage());
        }
        aa:
        goto sF;
        ux:
        $dy = array("\x74\x79\x70\x65" => "\151\156\x74", "\x75\x6e\163\x69\147\156\145\144" => TRUE, "\x64\x65\163\x63\162\x69\x70\164\151\x6f\x6e" => t("\x54\150\x65\40\125\163\x65\162\111\x6e\40\157\x66\40\x74\150\145\40\x75\163\145\x72\56"));
        try {
            $cg->addField("\x72\x65\163\x74\137\141\160\x69\x5f\x61\165\x74\x68\145\x6e\164\151\143\141\x74\x69\x6f\x6e\137\x74\157\x6b\x65\x6e", "\165\x73\145\x72\x5f\x69\x64\x5f\166\x61\154", $dy);
        } catch (Exception $JY) {
            \Drupal::logger("\x72\x65\163\164\137\141\x70\151\137\141\x75\x74\150\145\156\164\x69\x63\141\164\x69\x6f\156")->notice($JY->getMessage());
        }
        sF:
        goto hf;
        W0:
        $dy = array("\144\145\x73\143\162\x69\160\164\x69\x6f\156" => "\x54\x68\145\40\x61\160\151\x20\x6b\x65\x79\40\145\170\x70\151\x72\x79\40\164\151\x6d\145", "\x74\171\x70\x65" => "\x76\x61\x72\143\x68\x61\162", "\x6c\x65\156\147\x74\150" => 256);
        try {
            $cg->addField("\162\x65\x73\164\x5f\x61\x70\151\x5f\141\165\164\x68\145\156\164\x69\x63\x61\164\x69\x6f\x6e\x5f\x74\157\x6b\145\156", "\141\160\x69\137\x6b\x65\171\x5f\162\145\x71\165\145\x73\164\137\x74\x69\155\145", $dy);
        } catch (Exception $JY) {
            \Drupal::logger("\162\x65\163\164\x5f\x61\160\x69\x5f\x61\x75\x74\x68\145\156\x74\151\x63\141\164\x69\x6f\x6e")->notice($JY->getMessage());
        }
        hf:
        goto Mr;
        mw:
        $dy = array("\x64\x65\163\143\x72\x69\160\164\x69\157\156" => "\x54\150\145\x20\165\x73\145\162\x6e\141\x6d\145\40\157\146\x20\165\163\145\162", "\x74\x79\x70\x65" => "\166\x61\162\143\x68\x61\162", "\x6c\x65\156\147\164\150" => 256);
        try {
            $cg->addField("\162\145\163\x74\137\141\x70\x69\x5f\x61\165\x74\x68\145\156\x74\151\143\141\x74\x69\x6f\x6e\137\x74\x6f\x6b\145\x6e", "\x75\x73\x65\162\x5f\156\141\x6d\145", $dy);
        } catch (Exception $JY) {
            \Drupal::logger("\x72\145\x73\x74\x5f\x61\160\151\137\141\x75\164\150\x65\156\x74\x69\143\x61\164\151\157\x6e")->notice($JY->getMessage());
        }
        Mr:
    }
    public static function isTableExists($s2)
    {
        $BL = \Drupal::database();
        return $BL->schema()->tableExists($s2);
    }
    public static function isFieldExists($s2, $U0)
    {
        $BL = \Drupal::database();
        return $BL->schema()->fieldExists($s2, $U0);
    }
}

Function Calls

None

Variables

None

Stats

MD5 7f34a34b7c62858d4dbd88ac52f51aa5
Eval Count 0
Decode Time 75 ms