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 PhabricatorUserSchemaSpec extends PhabricatorConfigSchemaSpec { publ..

Decoded Output download

<?php

final class PhabricatorUserSchemaSpec extends PhabricatorConfigSchemaSpec {

  public function buildSchemata() {
    $this->buildEdgeSchemata(new PhabricatorUser());

    $this->buildRawSchema(
      id(new PhabricatorUser())->getApplicationName(),
      PhabricatorUser::NAMETOKEN_TABLE,
      array(
        'token' => 'sort255',
        'userID' => 'id',
      ),
      array(
        'token' => array(
          'columns' => array('token(128)'),
        ),
        'userID' => array(
          'columns' => array('userID'),
        ),
      ));

  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorUserSchemaSpec extends PhabricatorConfigSchemaSpec {

  public function buildSchemata() {
    $this->buildEdgeSchemata(new PhabricatorUser());

    $this->buildRawSchema(
      id(new PhabricatorUser())->getApplicationName(),
      PhabricatorUser::NAMETOKEN_TABLE,
      array(
        'token' => 'sort255',
        'userID' => 'id',
      ),
      array(
        'token' => array(
          'columns' => array('token(128)'),
        ),
        'userID' => array(
          'columns' => array('userID'),
        ),
      ));

  }

}

Function Calls

None

Variables

None

Stats

MD5 e2f2943fd4d03903c023b45496bb4512
Eval Count 0
Decode Time 107 ms