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

Decoded Output download

<?php

abstract class PhabricatorPasteController extends PhabricatorController {

  public function buildApplicationMenu() {
    return $this->newApplicationMenu()
      ->setSearchEngine(new PhabricatorPasteSearchEngine());
  }

  public function buildSourceCodeView(
    PhabricatorPaste $paste,
    $highlights = array()) {

    $lines = phutil_split_lines($paste->getContent());

    return id(new PhabricatorSourceCodeView())
      ->setLines($lines)
      ->setHighlights($highlights)
      ->setURI(new PhutilURI($paste->getURI()));
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class PhabricatorPasteController extends PhabricatorController {

  public function buildApplicationMenu() {
    return $this->newApplicationMenu()
      ->setSearchEngine(new PhabricatorPasteSearchEngine());
  }

  public function buildSourceCodeView(
    PhabricatorPaste $paste,
    $highlights = array()) {

    $lines = phutil_split_lines($paste->getContent());

    return id(new PhabricatorSourceCodeView())
      ->setLines($lines)
      ->setHighlights($highlights)
      ->setURI(new PhutilURI($paste->getURI()));
  }

}

Function Calls

None

Variables

None

Stats

MD5 2266db901b162b46a5967f22dbe150ae
Eval Count 0
Decode Time 91 ms