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 PhabricatorFeedListController extends PhabricatorFeedController { ..

Decoded Output download

<?php

final class PhabricatorFeedListController
  extends PhabricatorFeedController {

  public function shouldAllowPublic() {
    return true;
  }

  public function handleRequest(AphrontRequest $request) {
    $navigation = array();

    $navigation[] = id(new PHUIListItemView())
      ->setType(PHUIListItemView::TYPE_LABEL)
      ->setName(pht('Transactions'));

    $navigation[] = id(new PHUIListItemView())
      ->setName(pht('Transaction Logs'))
      ->setHref($this->getApplicationURI('transactions/'));

    return id(new PhabricatorFeedSearchEngine())
      ->setController($this)
      ->setNavigationItems($navigation)
      ->buildResponse();
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorFeedListController
  extends PhabricatorFeedController {

  public function shouldAllowPublic() {
    return true;
  }

  public function handleRequest(AphrontRequest $request) {
    $navigation = array();

    $navigation[] = id(new PHUIListItemView())
      ->setType(PHUIListItemView::TYPE_LABEL)
      ->setName(pht('Transactions'));

    $navigation[] = id(new PHUIListItemView())
      ->setName(pht('Transaction Logs'))
      ->setHref($this->getApplicationURI('transactions/'));

    return id(new PhabricatorFeedSearchEngine())
      ->setController($this)
      ->setNavigationItems($navigation)
      ->buildResponse();
  }

}

Function Calls

None

Variables

None

Stats

MD5 bc2fd527e16925a102de2f43648e1645
Eval Count 0
Decode Time 114 ms