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 PhabricatorPasteTransactionComment extends PhabricatorApplicationTran..

Decoded Output download

<?php

final class PhabricatorPasteTransactionComment
  extends PhabricatorApplicationTransactionComment {

  protected $lineNumber;
  protected $lineLength;

  public function getApplicationTransactionObject() {
    return new PhabricatorPasteTransaction();
  }

  public function shouldUseMarkupCache($field) {
    // Only cache submitted comments.
    return ($this->getTransactionPHID() != null);
  }

  protected function getConfiguration() {
    $config = parent::getConfiguration();
    $config[self::CONFIG_COLUMN_SCHEMA] = array(
      'lineNumber' => 'uint32?',
      'lineLength' => 'uint32?',
    ) + $config[self::CONFIG_COLUMN_SCHEMA];
    return $config;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorPasteTransactionComment
  extends PhabricatorApplicationTransactionComment {

  protected $lineNumber;
  protected $lineLength;

  public function getApplicationTransactionObject() {
    return new PhabricatorPasteTransaction();
  }

  public function shouldUseMarkupCache($field) {
    // Only cache submitted comments.
    return ($this->getTransactionPHID() != null);
  }

  protected function getConfiguration() {
    $config = parent::getConfiguration();
    $config[self::CONFIG_COLUMN_SCHEMA] = array(
      'lineNumber' => 'uint32?',
      'lineLength' => 'uint32?',
    ) + $config[self::CONFIG_COLUMN_SCHEMA];
    return $config;
  }

}

Function Calls

None

Variables

None

Stats

MD5 1283e060ab9c4a6efbd428f200285d10
Eval Count 0
Decode Time 87 ms