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 DrydockLeaseActivationFailureLogType extends DrydockLogType { const ..

Decoded Output download

<?php

final class DrydockLeaseActivationFailureLogType extends DrydockLogType {

  const LOGCONST = 'core.lease.activation-failure';

  public function getLogTypeName() {
    return pht('Activation Failed');
  }

  public function getLogTypeIcon(array $data) {
    return 'fa-times red';
  }

  public function renderLog(array $data) {
    $class = idx($data, 'class');
    $message = idx($data, 'message');

    return pht('Lease activation failed: [%s] %s', $class, $message);
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DrydockLeaseActivationFailureLogType extends DrydockLogType {

  const LOGCONST = 'core.lease.activation-failure';

  public function getLogTypeName() {
    return pht('Activation Failed');
  }

  public function getLogTypeIcon(array $data) {
    return 'fa-times red';
  }

  public function renderLog(array $data) {
    $class = idx($data, 'class');
    $message = idx($data, 'message');

    return pht('Lease activation failed: [%s] %s', $class, $message);
  }

}

Function Calls

None

Variables

None

Stats

MD5 d2e8f3eb0cee777e3e7cc631725a394f
Eval Count 0
Decode Time 124 ms