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 PhabricatorAuditController extends PhabricatorController { public..

Decoded Output download

<?php

abstract class PhabricatorAuditController extends PhabricatorController {

  public function buildSideNavView() {

    $user = $this->getRequest()->getUser();

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

    id(new PhabricatorCommitSearchEngine())
      ->setViewer($user)
      ->addNavigationItems($nav->getMenu());

    $nav->selectFilter(null);

    return $nav;
  }

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

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class PhabricatorAuditController extends PhabricatorController {

  public function buildSideNavView() {

    $user = $this->getRequest()->getUser();

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

    id(new PhabricatorCommitSearchEngine())
      ->setViewer($user)
      ->addNavigationItems($nav->getMenu());

    $nav->selectFilter(null);

    return $nav;
  }

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

}

Function Calls

None

Variables

None

Stats

MD5 ddc59233d484529e3dee8ca16087a2e8
Eval Count 0
Decode Time 85 ms