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 PholioMockInlineTransaction extends PholioMockTransactionType { co..

Decoded Output download

<?php

final class PholioMockInlineTransaction
  extends PholioMockTransactionType {

  const TRANSACTIONTYPE = 'inline';

  public function generateOldValue($object) {
    return null;
  }

  public function getTitle() {
    return pht(
      '%s added inline comment(s).',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s added an inline comment to %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

  public function getIcon() {
    return 'fa-comment';
  }

  public function getTransactionHasEffect($object, $old, $new) {
    return true;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PholioMockInlineTransaction
  extends PholioMockTransactionType {

  const TRANSACTIONTYPE = 'inline';

  public function generateOldValue($object) {
    return null;
  }

  public function getTitle() {
    return pht(
      '%s added inline comment(s).',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s added an inline comment to %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

  public function getIcon() {
    return 'fa-comment';
  }

  public function getTransactionHasEffect($object, $old, $new) {
    return true;
  }

}

Function Calls

None

Variables

None

Stats

MD5 4c9c52217c4fa3c09c92ac6fb998a2cd
Eval Count 0
Decode Time 85 ms