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 PhabricatorConfigManagementListWorkflow extends PhabricatorConfigMana..

Decoded Output download

<?php

final class PhabricatorConfigManagementListWorkflow
  extends PhabricatorConfigManagementWorkflow {

  protected function didConstruct() {
    $this
      ->setName('list')
      ->setExamples('**list**')
      ->setSynopsis(pht('List all configuration keys.'));
  }

  public function execute(PhutilArgumentParser $args) {
    $options = PhabricatorApplicationConfigOptions::loadAllOptions();
    ksort($options);

    $console = PhutilConsole::getConsole();
    foreach ($options as $option) {
      $console->writeOut($option->getKey()."
");
    }

    return 0;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorConfigManagementListWorkflow
  extends PhabricatorConfigManagementWorkflow {

  protected function didConstruct() {
    $this
      ->setName('list')
      ->setExamples('**list**')
      ->setSynopsis(pht('List all configuration keys.'));
  }

  public function execute(PhutilArgumentParser $args) {
    $options = PhabricatorApplicationConfigOptions::loadAllOptions();
    ksort($options);

    $console = PhutilConsole::getConsole();
    foreach ($options as $option) {
      $console->writeOut($option->getKey()."\n");
    }

    return 0;
  }

}

Function Calls

None

Variables

None

Stats

MD5 16e41f47a1280e95fc4299ffefb68317
Eval Count 0
Decode Time 92 ms