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 DiffusionSvnRawDiffQuery extends DiffusionRawDiffQuery { protected f..

Decoded Output download

<?php

final class DiffusionSvnRawDiffQuery extends DiffusionRawDiffQuery {

  protected function newQueryFuture() {
    $drequest = $this->getRequest();
    $repository = $drequest->getRepository();

    $commit = $this->getAnchorCommit();
    $arc_root = phutil_get_library_root('arcanist');

    $against = $this->getAgainstCommit();
    if ($against === null) {
      $against = $commit - 1;
    }

    $future = $repository->getRemoteCommandFuture(
      'diff --diff-cmd %s -x -U%d -r %d:%d %s',
      $arc_root.'/../scripts/repository/binary_safe_diff.sh',
      $this->getLinesOfContext(),
      $against,
      $commit,
      $repository->getSubversionPathURI($drequest->getPath()));

    return $future;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DiffusionSvnRawDiffQuery extends DiffusionRawDiffQuery {

  protected function newQueryFuture() {
    $drequest = $this->getRequest();
    $repository = $drequest->getRepository();

    $commit = $this->getAnchorCommit();
    $arc_root = phutil_get_library_root('arcanist');

    $against = $this->getAgainstCommit();
    if ($against === null) {
      $against = $commit - 1;
    }

    $future = $repository->getRemoteCommandFuture(
      'diff --diff-cmd %s -x -U%d -r %d:%d %s',
      $arc_root.'/../scripts/repository/binary_safe_diff.sh',
      $this->getLinesOfContext(),
      $against,
      $commit,
      $repository->getSubversionPathURI($drequest->getPath()));

    return $future;
  }

}

Function Calls

None

Variables

None

Stats

MD5 997edf76dede5f51a8b7d7c76a44b1d4
Eval Count 0
Decode Time 79 ms