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\Core\TypedData\Plugin\DataType; use Drupal\Core\StringTranslation..

Decoded Output download

<?php

namespace Drupal\Core\TypedData\Plugin\DataType;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\TypedData\Attribute\DataType;
use Drupal\Core\TypedData\TypedData;

/**
 * The "any" data type.
 *
 * The "any" data type does not implement a list or complex data interface, nor
 * is it mappable to any primitive type. Thus, it may contain any PHP data for
 * which no further metadata is available.
 */
#[DataType(
  id: "any",
  label: new TranslatableMarkup("Any data")
)]
class Any extends TypedData {

  /**
   * The data value.
   *
   * @var mixed
   */
  protected $value;

}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Drupal\Core\TypedData\Plugin\DataType;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\TypedData\Attribute\DataType;
use Drupal\Core\TypedData\TypedData;

/**
 * The "any" data type.
 *
 * The "any" data type does not implement a list or complex data interface, nor
 * is it mappable to any primitive type. Thus, it may contain any PHP data for
 * which no further metadata is available.
 */
#[DataType(
  id: "any",
  label: new TranslatableMarkup("Any data")
)]
class Any extends TypedData {

  /**
   * The data value.
   *
   * @var mixed
   */
  protected $value;

}

Function Calls

None

Variables

None

Stats

MD5 351526f16905c8264e660fe994d65068
Eval Count 0
Decode Time 90 ms