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 namespace Drupal\field\Tests; /** * Helper class for \Drupal\field\Tests\FieldDef..

Decoded Output download

<?php

namespace Drupalield\Tests;

/**
 * Helper class for \Drupalield\Tests\FieldDefaultValueCallbackTest.
 */
class FieldDefaultValueCallbackProvider {

  /**
   * Helper callback calculating a default value.
   */
  public static function calculateDefaultValue() {
    return [['value' => 'Calculated default value']];
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Drupal\field\Tests;

/**
 * Helper class for \Drupal\field\Tests\FieldDefaultValueCallbackTest.
 */
class FieldDefaultValueCallbackProvider {

  /**
   * Helper callback calculating a default value.
   */
  public static function calculateDefaultValue() {
    return [['value' => 'Calculated default value']];
  }

}

Function Calls

None

Variables

None

Stats

MD5 5ad1b19c5dd17427d493348fd5ead96f
Eval Count 0
Decode Time 94 ms