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 PhabricatorCalendarImportDefaultLogType extends PhabricatorCalendarIm..

Decoded Output download

<?php

final class PhabricatorCalendarImportDefaultLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'default';

  public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {

    $type = $log->getParameter('type');
    if (strlen($type)) {
      return pht('Unknown Message "%s"', $type);
    } else {
      return pht('Unknown Message');
    }
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorCalendarImportDefaultLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'default';

  public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {

    $type = $log->getParameter('type');
    if (strlen($type)) {
      return pht('Unknown Message "%s"', $type);
    } else {
      return pht('Unknown Message');
    }
  }

}

Function Calls

None

Variables

None

Stats

MD5 14d85ce9df6d8f02d7e793f8e64813c4
Eval Count 0
Decode Time 84 ms