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 final class PhabricatorMetaMTAApplication extends PhabricatorApplication { publi..

Decoded Output download

<?php

final class PhabricatorMetaMTAApplication extends PhabricatorApplication {

  public function getName() {
    return pht('Mail');
  }

  public function getBaseURI() {
    return '/mail/';
  }

  public function getIcon() {
    return 'fa-send';
  }

  public function getShortDescription() {
    return pht('Send and Receive Mail');
  }

  public function getFlavorText() {
    return pht('Every program attempts to expand until it can read mail.');
  }

  public function getApplicationGroup() {
    return self::GROUP_ADMIN;
  }

  public function canUninstall() {
    return false;
  }

  public function getTypeaheadURI() {
    return '/mail/';
  }

  public function getRoutes() {
    return array(
      '/mail/' => array(
        '(query/(?P<queryKey>[^/]+)/)?' =>
          'PhabricatorMetaMTAMailListController',
        'detail/(?P<id>[1-9]\d*)/' => 'PhabricatorMetaMTAMailViewController',
        'sendgrid/' => 'PhabricatorMetaMTASendGridReceiveController',
        'mailgun/'  => 'PhabricatorMetaMTAMailgunReceiveController',
        'postmark/'  => 'PhabricatorMetaMTAPostmarkReceiveController',
      ),
    );
  }

  public function getTitleGlyph() {
    return '@';
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorMetaMTAApplication extends PhabricatorApplication {

  public function getName() {
    return pht('Mail');
  }

  public function getBaseURI() {
    return '/mail/';
  }

  public function getIcon() {
    return 'fa-send';
  }

  public function getShortDescription() {
    return pht('Send and Receive Mail');
  }

  public function getFlavorText() {
    return pht('Every program attempts to expand until it can read mail.');
  }

  public function getApplicationGroup() {
    return self::GROUP_ADMIN;
  }

  public function canUninstall() {
    return false;
  }

  public function getTypeaheadURI() {
    return '/mail/';
  }

  public function getRoutes() {
    return array(
      '/mail/' => array(
        '(query/(?P<queryKey>[^/]+)/)?' =>
          'PhabricatorMetaMTAMailListController',
        'detail/(?P<id>[1-9]\d*)/' => 'PhabricatorMetaMTAMailViewController',
        'sendgrid/' => 'PhabricatorMetaMTASendGridReceiveController',
        'mailgun/'  => 'PhabricatorMetaMTAMailgunReceiveController',
        'postmark/'  => 'PhabricatorMetaMTAPostmarkReceiveController',
      ),
    );
  }

  public function getTitleGlyph() {
    return '@';
  }

}

Function Calls

None

Variables

None

Stats

MD5 29fa75123aa0e9a769360602fbf76c0f
Eval Count 0
Decode Time 90 ms