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 PhabricatorProjectBoardController extends PhabricatorProjectContro..

Decoded Output download

<?php

abstract class PhabricatorProjectBoardController
  extends PhabricatorProjectController {

  private $viewState;

  final protected function getViewState() {
    if ($this->viewState === null) {
      $this->viewState = $this->newViewState();
    }

    return $this->viewState;
  }

  private function newViewState() {
    $project = $this->getProject();
    $request = $this->getRequest();

    return id(new PhabricatorWorkboardViewState())
      ->setProject($project)
      ->readFromRequest($request);
  }

  final protected function newWorkboardDialog() {
    $dialog = $this->newDialog();

    $state = $this->getViewState();
    foreach ($state->getQueryParameters() as $key => $value) {
      $dialog->addHiddenInput($key, $value);
    }

    return $dialog;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class PhabricatorProjectBoardController
  extends PhabricatorProjectController {

  private $viewState;

  final protected function getViewState() {
    if ($this->viewState === null) {
      $this->viewState = $this->newViewState();
    }

    return $this->viewState;
  }

  private function newViewState() {
    $project = $this->getProject();
    $request = $this->getRequest();

    return id(new PhabricatorWorkboardViewState())
      ->setProject($project)
      ->readFromRequest($request);
  }

  final protected function newWorkboardDialog() {
    $dialog = $this->newDialog();

    $state = $this->getViewState();
    foreach ($state->getQueryParameters() as $key => $value) {
      $dialog->addHiddenInput($key, $value);
    }

    return $dialog;
  }

}

Function Calls

None

Variables

None

Stats

MD5 ebc5032cfcb6ff1e300f0129538a8f45
Eval Count 0
Decode Time 85 ms