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 PhabricatorPDFFragment extends Phobject { private $rope; pub..

Decoded Output download

<?php

abstract class PhabricatorPDFFragment
  extends Phobject {

  private $rope;

  public function getAsBytes() {
    $this->rope = new PhutilRope();

    $this->writeFragment();

    $rope = $this->rope;
    $this->rope = null;

    return $rope->getAsString();
  }

  public function hasRefTableEntry() {
    return false;
  }

  abstract protected function writeFragment();

  final protected function writeLine($pattern) {
    $pattern = $pattern."
";

    $argv = func_get_args();
    $argv[0] = $pattern;

    $line = call_user_func_array('sprintf', $argv);

    $this->rope->append($line);

    return $this;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class PhabricatorPDFFragment
  extends Phobject {

  private $rope;

  public function getAsBytes() {
    $this->rope = new PhutilRope();

    $this->writeFragment();

    $rope = $this->rope;
    $this->rope = null;

    return $rope->getAsString();
  }

  public function hasRefTableEntry() {
    return false;
  }

  abstract protected function writeFragment();

  final protected function writeLine($pattern) {
    $pattern = $pattern."\n";

    $argv = func_get_args();
    $argv[0] = $pattern;

    $line = call_user_func_array('sprintf', $argv);

    $this->rope->append($line);

    return $this;
  }

}

Function Calls

None

Variables

None

Stats

MD5 0cab998a3c6d9ff6b50f4d2aae9d4ae7
Eval Count 0
Decode Time 91 ms