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 abstract class DifferentialMailView extends Phobject { protected function rend..

Decoded Output download

<?php

abstract class DifferentialMailView
  extends Phobject {

  protected function renderCodeBlock($block) {
    $style = array(
      'font: 11px/15px "Menlo", "Consolas", "Monaco", monospace;',
      'white-space: pre-wrap;',
      'clear: both;',
      'padding: 4px 0;',
      'margin: 0;',
    );

    return phutil_tag(
      'div',
      array(
        'style' => implode(' ', $style),
      ),
      $block);
  }

  protected function renderHeaderBlock($block) {
    $style = array(
      'color: #74777d;',
      'background: #eff2f4;',
      'padding: 6px 8px;',
      'overflow: hidden;',
    );

    return phutil_tag(
      'div',
      array(
        'style' => implode(' ', $style),
      ),
      $block);
  }

  protected function renderHeaderBold($content) {
    return phutil_tag(
      'span',
      array(
        'style' => 'color: #4b4d51; font-weight: bold;',
      ),
      $content);
  }

  protected function renderContentBox($content) {
    $style = array(
      'border: 1px solid #C7CCD9;',
      'border-radius: 3px;',
    );

    return phutil_tag(
      'div',
      array(
        'style' => implode(' ', $style),
      ),
      $content);
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class DifferentialMailView
  extends Phobject {

  protected function renderCodeBlock($block) {
    $style = array(
      'font: 11px/15px "Menlo", "Consolas", "Monaco", monospace;',
      'white-space: pre-wrap;',
      'clear: both;',
      'padding: 4px 0;',
      'margin: 0;',
    );

    return phutil_tag(
      'div',
      array(
        'style' => implode(' ', $style),
      ),
      $block);
  }

  protected function renderHeaderBlock($block) {
    $style = array(
      'color: #74777d;',
      'background: #eff2f4;',
      'padding: 6px 8px;',
      'overflow: hidden;',
    );

    return phutil_tag(
      'div',
      array(
        'style' => implode(' ', $style),
      ),
      $block);
  }

  protected function renderHeaderBold($content) {
    return phutil_tag(
      'span',
      array(
        'style' => 'color: #4b4d51; font-weight: bold;',
      ),
      $content);
  }

  protected function renderContentBox($content) {
    $style = array(
      'border: 1px solid #C7CCD9;',
      'border-radius: 3px;',
    );

    return phutil_tag(
      'div',
      array(
        'style' => implode(' ', $style),
      ),
      $content);
  }

}

Function Calls

None

Variables

None

Stats

MD5 83a4fa6ec4d63f5253da1ee5fb5f4d30
Eval Count 0
Decode Time 91 ms