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

Decoded Output download

<?php

final class PhrictionReplyHandler
  extends PhabricatorApplicationTransactionReplyHandler {

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

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

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhrictionReplyHandler
  extends PhabricatorApplicationTransactionReplyHandler {

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

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

}

Function Calls

None

Variables

None

Stats

MD5 474919f87e17f85dd8a78c047a393213
Eval Count 0
Decode Time 119 ms