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 PhabricatorRefreshCSRFController extends PhabricatorAuthController { ..

Decoded Output download

<?php

final class PhabricatorRefreshCSRFController extends PhabricatorAuthController {

  public function handleRequest(AphrontRequest $request) {
    $viewer = $this->getViewer();

    return id(new AphrontAjaxResponse())
      ->setContent(
        array(
          'token' => $viewer->getCSRFToken(),
        ));
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorRefreshCSRFController extends PhabricatorAuthController {

  public function handleRequest(AphrontRequest $request) {
    $viewer = $this->getViewer();

    return id(new AphrontAjaxResponse())
      ->setContent(
        array(
          'token' => $viewer->getCSRFToken(),
        ));
  }

}

Function Calls

None

Variables

None

Stats

MD5 620f0943fb1b4ae9da8938ff93527b50
Eval Count 0
Decode Time 89 ms