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 abstract class HeraldController extends PhabricatorController { public function ..

Decoded Output download

<?php

abstract class HeraldController extends PhabricatorController {

  public function buildApplicationMenu() {
    return $this->buildSideNavView()->getMenu();
  }

  public function buildSideNavView() {
    $viewer = $this->getViewer();

    $nav = new AphrontSideNavFilterView();
    $nav->setBaseURI(new PhutilURI($this->getApplicationURI()));

    id(new HeraldRuleSearchEngine())
      ->setViewer($viewer)
      ->addNavigationItems($nav->getMenu());

    $nav->addLabel(pht('Utilities'))
      ->addFilter('test', pht('Test Console'))
      ->addFilter('transcript', pht('Transcripts'));

    $nav->addLabel(pht('Webhooks'))
      ->addFilter('webhook', pht('Webhooks'));

    $nav->selectFilter(null);

    return $nav;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class HeraldController extends PhabricatorController {

  public function buildApplicationMenu() {
    return $this->buildSideNavView()->getMenu();
  }

  public function buildSideNavView() {
    $viewer = $this->getViewer();

    $nav = new AphrontSideNavFilterView();
    $nav->setBaseURI(new PhutilURI($this->getApplicationURI()));

    id(new HeraldRuleSearchEngine())
      ->setViewer($viewer)
      ->addNavigationItems($nav->getMenu());

    $nav->addLabel(pht('Utilities'))
      ->addFilter('test', pht('Test Console'))
      ->addFilter('transcript', pht('Transcripts'));

    $nav->addLabel(pht('Webhooks'))
      ->addFilter('webhook', pht('Webhooks'));

    $nav->selectFilter(null);

    return $nav;
  }

}

Function Calls

None

Variables

None

Stats

MD5 49e6abe5c7e346f6d429c36a8b8070fa
Eval Count 0
Decode Time 87 ms