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

Decoded Output download

<?php

final class DrydockLeaseReacquireLogType extends DrydockLogType {

  const LOGCONST = 'core.lease.reacquire';

  public function getLogTypeName() {
    return pht('Reacquiring Resource');
  }

  public function getLogTypeIcon(array $data) {
    return 'fa-refresh yellow';
  }

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

    return pht(
      'Lease acquired a resource but failed to activate; acquisition '.
      'will be retried: [%s] %s',
      $class,
      $message);
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DrydockLeaseReacquireLogType extends DrydockLogType {

  const LOGCONST = 'core.lease.reacquire';

  public function getLogTypeName() {
    return pht('Reacquiring Resource');
  }

  public function getLogTypeIcon(array $data) {
    return 'fa-refresh yellow';
  }

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

    return pht(
      'Lease acquired a resource but failed to activate; acquisition '.
      'will be retried: [%s] %s',
      $class,
      $message);
  }

}

Function Calls

None

Variables

None

Stats

MD5 4e5fe810d7f9a5948edfbf44b32878bb
Eval Count 0
Decode Time 93 ms