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

Decoded Output download

<?php

final class PhabricatorConpherenceApplication extends PhabricatorApplication {

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

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

  public function getShortDescription() {
    return pht('Chat with Others');
  }

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

  public function getTitleGlyph() {
    return "";
  }

  public function getRemarkupRules() {
    return array(
      new ConpherenceThreadRemarkupRule(),
    );
  }

  public function getRoutes() {
    return array(
      '/Z(?P<id>[1-9]\d*)'
        => 'ConpherenceViewController',
      '/conpherence/' => array(
        ''
          => 'ConpherenceListController',
        'thread/(?P<id>[1-9]\d*)/'
          => 'ConpherenceListController',
        'threadsearch/(?P<id>[1-9]\d*)/'
          => 'ConpherenceThreadSearchController',
        '(?P<id>[1-9]\d*)/'
          => 'ConpherenceViewController',
        '(?P<id>[1-9]\d*)/(?P<messageID>[1-9]\d*)/'
          => 'ConpherenceViewController',
        'columnview/'
          => 'ConpherenceColumnViewController',
        $this->getEditRoutePattern('new/')
          => 'ConpherenceRoomEditController',
        $this->getEditRoutePattern('edit/')
          => 'ConpherenceRoomEditController',
        'picture/(?P<id>[1-9]\d*)/'
          => 'ConpherenceRoomPictureController',
        'search/(?:query/(?P<queryKey>[^/]+)/)?'
          => 'ConpherenceRoomListController',
        'panel/'
          => 'ConpherenceNotificationPanelController',
        'participant/(?P<id>[1-9]\d*)/'
          => 'ConpherenceParticipantController',
        'preferences/(?P<id>[1-9]\d*)/'
          => 'ConpherenceRoomPreferencesController',
        'update/(?P<id>[1-9]\d*)/'
          => 'ConpherenceUpdateController',
      ),
    );
  }

  public function getQuicksandURIPatternBlacklist() {
    return array(
      '/conpherence/.*',
      '/Z\d+',
    );
  }

  public function getMailCommandObjects() {

    // TODO: Conpherence threads don't currently support any commands directly,
    // so the documentation page we end up generating is empty and funny
    // looking. Add support here once we support "!add", "!leave", "!topic",
    // or whatever else.

    return array();
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorConpherenceApplication extends PhabricatorApplication {

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

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

  public function getShortDescription() {
    return pht('Chat with Others');
  }

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

  public function getTitleGlyph() {
    return "\xE2\x9C\x86";
  }

  public function getRemarkupRules() {
    return array(
      new ConpherenceThreadRemarkupRule(),
    );
  }

  public function getRoutes() {
    return array(
      '/Z(?P<id>[1-9]\d*)'
        => 'ConpherenceViewController',
      '/conpherence/' => array(
        ''
          => 'ConpherenceListController',
        'thread/(?P<id>[1-9]\d*)/'
          => 'ConpherenceListController',
        'threadsearch/(?P<id>[1-9]\d*)/'
          => 'ConpherenceThreadSearchController',
        '(?P<id>[1-9]\d*)/'
          => 'ConpherenceViewController',
        '(?P<id>[1-9]\d*)/(?P<messageID>[1-9]\d*)/'
          => 'ConpherenceViewController',
        'columnview/'
          => 'ConpherenceColumnViewController',
        $this->getEditRoutePattern('new/')
          => 'ConpherenceRoomEditController',
        $this->getEditRoutePattern('edit/')
          => 'ConpherenceRoomEditController',
        'picture/(?P<id>[1-9]\d*)/'
          => 'ConpherenceRoomPictureController',
        'search/(?:query/(?P<queryKey>[^/]+)/)?'
          => 'ConpherenceRoomListController',
        'panel/'
          => 'ConpherenceNotificationPanelController',
        'participant/(?P<id>[1-9]\d*)/'
          => 'ConpherenceParticipantController',
        'preferences/(?P<id>[1-9]\d*)/'
          => 'ConpherenceRoomPreferencesController',
        'update/(?P<id>[1-9]\d*)/'
          => 'ConpherenceUpdateController',
      ),
    );
  }

  public function getQuicksandURIPatternBlacklist() {
    return array(
      '/conpherence/.*',
      '/Z\d+',
    );
  }

  public function getMailCommandObjects() {

    // TODO: Conpherence threads don't currently support any commands directly,
    // so the documentation page we end up generating is empty and funny
    // looking. Add support here once we support "!add", "!leave", "!topic",
    // or whatever else.

    return array();
  }

}

Function Calls

None

Variables

None

Stats

MD5 dd60ac978d66d03fc63fa813606af183
Eval Count 0
Decode Time 80 ms