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 PhabricatorApplicationsApplication extends PhabricatorApplication { ..

Decoded Output download

<?php

final class PhabricatorApplicationsApplication extends PhabricatorApplication {

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

  public function canUninstall() {
    return false;
  }

  public function isLaunchable() {
    // This application is launchable in the traditional sense, but showing it
    // on the application launch list is confusing.
    return false;
  }

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

  public function getShortDescription() {
    return pht('Explore More Applications');
  }

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

  public function getTitleGlyph() {
    return "";
  }

  public function getRoutes() {
    return array(
      '/applications/' => array(
        '(?:query/(?P<queryKey>[^/]+)/)?'
          => 'PhabricatorApplicationsListController',
        'view/(?P<application>\w+)/'
          => 'PhabricatorApplicationDetailViewController',
        'edit/(?P<application>\w+)/'
          => 'PhabricatorApplicationEditController',
        'mailcommands/(?P<application>\w+)/(?P<type>\w+)/'
          => 'PhabricatorApplicationEmailCommandsController',
        '(?P<application>\w+)/(?P<action>install|uninstall)/'
          => 'PhabricatorApplicationUninstallController',
        'panel/(?P<application>\w+)/(?P<panel>\w+)/(?P<path>.*)'
          => 'PhabricatorApplicationPanelController',
      ),
    );
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorApplicationsApplication extends PhabricatorApplication {

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

  public function canUninstall() {
    return false;
  }

  public function isLaunchable() {
    // This application is launchable in the traditional sense, but showing it
    // on the application launch list is confusing.
    return false;
  }

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

  public function getShortDescription() {
    return pht('Explore More Applications');
  }

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

  public function getTitleGlyph() {
    return "\xE0\xBC\x84";
  }

  public function getRoutes() {
    return array(
      '/applications/' => array(
        '(?:query/(?P<queryKey>[^/]+)/)?'
          => 'PhabricatorApplicationsListController',
        'view/(?P<application>\w+)/'
          => 'PhabricatorApplicationDetailViewController',
        'edit/(?P<application>\w+)/'
          => 'PhabricatorApplicationEditController',
        'mailcommands/(?P<application>\w+)/(?P<type>\w+)/'
          => 'PhabricatorApplicationEmailCommandsController',
        '(?P<application>\w+)/(?P<action>install|uninstall)/'
          => 'PhabricatorApplicationUninstallController',
        'panel/(?P<application>\w+)/(?P<panel>\w+)/(?P<path>.*)'
          => 'PhabricatorApplicationPanelController',
      ),
    );
  }

}

Function Calls

None

Variables

None

Stats

MD5 a73078613a3d20a977f275b0f2eac0a2
Eval Count 0
Decode Time 125 ms