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 DifferentialDiffAuthorHeraldField extends DifferentialDiffHeraldField..

Decoded Output download

<?php

final class DifferentialDiffAuthorHeraldField
  extends DifferentialDiffHeraldField {

  const FIELDCONST = 'differential.diff.author';

  public function getHeraldFieldName() {
    return pht('Author');
  }

  public function getHeraldFieldValue($object) {
    return $object->getAuthorPHID();
  }

  protected function getHeraldFieldStandardType() {
    return self::STANDARD_PHID;
  }

  protected function getDatasource() {
    return new PhabricatorPeopleDatasource();
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DifferentialDiffAuthorHeraldField
  extends DifferentialDiffHeraldField {

  const FIELDCONST = 'differential.diff.author';

  public function getHeraldFieldName() {
    return pht('Author');
  }

  public function getHeraldFieldValue($object) {
    return $object->getAuthorPHID();
  }

  protected function getHeraldFieldStandardType() {
    return self::STANDARD_PHID;
  }

  protected function getDatasource() {
    return new PhabricatorPeopleDatasource();
  }

}

Function Calls

None

Variables

None

Stats

MD5 ee1503218e8316db47b9d322f55827c6
Eval Count 0
Decode Time 104 ms