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 PhabricatorPDFContentsObject extends PhabricatorPDFObject { privat..

Decoded Output download

<?php

final class PhabricatorPDFContentsObject
  extends PhabricatorPDFObject {

  private $rawContent;

  public function setRawContent($raw_content) {
    $this->rawContent = $raw_content;
    return $this;
  }

  public function getRawContent() {
    return $this->rawContent;
  }

  protected function writeObject() {
    $data = $this->getRawContent();

    $stream_length = $this->newStream($data);

    $this->writeLine('/Filter /FlateDecode /Length %d', $stream_length);
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorPDFContentsObject
  extends PhabricatorPDFObject {

  private $rawContent;

  public function setRawContent($raw_content) {
    $this->rawContent = $raw_content;
    return $this;
  }

  public function getRawContent() {
    return $this->rawContent;
  }

  protected function writeObject() {
    $data = $this->getRawContent();

    $stream_length = $this->newStream($data);

    $this->writeLine('/Filter /FlateDecode /Length %d', $stream_length);
  }

}

Function Calls

None

Variables

None

Stats

MD5 ade45edd4487065ba294bc5a33f6163d
Eval Count 0
Decode Time 87 ms