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 PhameBlogReplyHandler extends PhabricatorApplicationTransactionReplyH..

Decoded Output download

<?php

final class PhameBlogReplyHandler
  extends PhabricatorApplicationTransactionReplyHandler {

  public function validateMailReceiver($mail_receiver) {
    if (!($mail_receiver instanceof PhameBlog)) {
      throw new Exception(
        pht('Mail receiver is not a %s.', 'PhameBlog'));
    }
  }

  public function getObjectPrefix() {
    return PhabricatorPhameBlogPHIDType::TYPECONST;
  }

  protected function shouldCreateCommentFromMailBody() {
    return false;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhameBlogReplyHandler
  extends PhabricatorApplicationTransactionReplyHandler {

  public function validateMailReceiver($mail_receiver) {
    if (!($mail_receiver instanceof PhameBlog)) {
      throw new Exception(
        pht('Mail receiver is not a %s.', 'PhameBlog'));
    }
  }

  public function getObjectPrefix() {
    return PhabricatorPhameBlogPHIDType::TYPECONST;
  }

  protected function shouldCreateCommentFromMailBody() {
    return false;
  }

}

Function Calls

None

Variables

None

Stats

MD5 3b5d4a1f2a5e6b1a62d096de03ea86b7
Eval Count 0
Decode Time 94 ms