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 PhabricatorTestApplication extends PhabricatorApplication { private ..

Decoded Output download

<?php

final class PhabricatorTestApplication extends PhabricatorApplication {

  private $policies = array();

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

  public function isUnlisted() {
    return true;
  }

  public function isLaunchable() {
    return false;
  }

  public function reset() {
    $this->policies = array();
  }

  public function setPolicy($capability, $value) {
    $this->policies[$capability] = $value;
    return $this;
  }

  public function getPolicy($capability) {
    return idx($this->policies, $capability, parent::getPolicy($capability));
  }

  public function canUninstall() {
    return false;
  }

  public function getRoutes() {
    return array();
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorTestApplication extends PhabricatorApplication {

  private $policies = array();

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

  public function isUnlisted() {
    return true;
  }

  public function isLaunchable() {
    return false;
  }

  public function reset() {
    $this->policies = array();
  }

  public function setPolicy($capability, $value) {
    $this->policies[$capability] = $value;
    return $this;
  }

  public function getPolicy($capability) {
    return idx($this->policies, $capability, parent::getPolicy($capability));
  }

  public function canUninstall() {
    return false;
  }

  public function getRoutes() {
    return array();
  }

}

Function Calls

None

Variables

None

Stats

MD5 1b8e64f2978874b0e8ac5b476cf37db8
Eval Count 0
Decode Time 74 ms