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 /** * Validation Lines * The following language lines contain the default error me..

Decoded Output download

<?php
/**
 * Validation Lines
 * The following language lines contain the default error messages used by
 * the validator class. Some of these rules have multiple versions such
 * as the size rules. Feel free to tweak each of these messages here.
 */
return [

    // Standard laravel validation lines
    'accepted'             => ':attribute',
    'active_url'           => ':attributeURL',
    'after'                => ':attribute:date',
    'alpha'                => ':attribute',
    'alpha_dash'           => ':attribute, , ',
    'alpha_num'            => ':attribute',
    'array'                => ':attribute',
    'backup_codes'         => '',
    'before'               => ':attribute:date',
    'between'              => [
        'numeric' => ':attribute:min:max',
        'file'    => ':attribute:min:max',
        'string'  => ':attribute:min:max',
        'array'   => ':attribute:min:max',
    ],
    'boolean'              => ':attributetruefalse',
    'confirmed'            => ':attribute',
    'date'                 => ':attribute',
    'date_format'          => ':attribute:format',
    'different'            => ':attribute:other',
    'digits'               => ':attribute:digits',
    'digits_between'       => ':attribute:min:max',
    'email'                => ':attributeE',
    'ends_with' => ':attribute:values',
    'file'                 => ':attribute',
    'filled'               => ':attribute',
    'gt'                   => [
        'numeric' => ':attribute:value',
        'file'    => ':attribute:value',
        'string'  => ':attribute:value',
        'array'   => ':attribute:value',
    ],
    'gte'                  => [
        'numeric' => ':attribute:value',
        'file'    => ':attribute:value',
        'string'  => ':attribute:value',
        'array'   => ':attribute:value',
    ],
    'exists'               => ':attribute',
    'image'                => ':attribute',
    'image_extension'      => ':attribute',
    'in'                   => ':attribute',
    'integer'              => ':attribute',
    'ip'                   => ':attributeIP',
    'ipv4'                 => ':attributeIPv4',
    'ipv6'                 => ':attributeIPv6',
    'json'                 => ':attributeJSON',
    'lt'                   => [
        'numeric' => ':attribute:value',
        'file'    => ':attribute:value',
        'string'  => ':attribute:value',
        'array'   => ':attribute:value',
    ],
    'lte'                  => [
        'numeric' => ':attribute:value',
        'file'    => ':attribute:value',
        'string'  => ':attribute:value',
        'array'   => ':attribute:value',
    ],
    'max'                  => [
        'numeric' => ':attribute:max',
        'file'    => ':attribute:max',
        'string'  => ':attribute:max',
        'array'   => ':attribute:max',
    ],
    'mimes'                => ':attribute: :values.',
    'min'                  => [
        'numeric' => ':attribute:min',
        'file'    => ':attribute:min',
        'string'  => ':attribute:min',
        'array'   => ':attribute:min',
    ],
    'not_in'               => ':attribute',
    'not_regex'            => ':attribute',
    'numeric'              => ':attribute',
    'regex'                => ':attribute',
    'required'             => ':attribute',
    'required_if'          => ':other:value:attribute',
    'required_with'        => ':values:attribute',
    'required_with_all'    => ':values:attribute',
    'required_without'     => ':values:attribute',
    'required_without_all' => ':values:attribute',
    'same'                 => ':attribute:other',
    'safe_url'             => '',
    'size'                 => [
        'numeric' => ':attribute:size',
        'file'    => ':attribute:size',
        'string'  => ':attribute:size',
        'array'   => ':attribute:size',
    ],
    'string'               => ':attribute',
    'timezone'             => ':attribute',
    'totp'                 => '',
    'unique'               => ':attribute',
    'url'                  => ':attribute',
    'uploaded'             => '',

    // Custom validation lines
    'custom' => [
        'password-confirm' => [
            'required_with' => '',
        ],
    ],

    // Custom validation attributes
    'attributes' => [],
];
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * Validation Lines
 * The following language lines contain the default error messages used by
 * the validator class. Some of these rules have multiple versions such
 * as the size rules. Feel free to tweak each of these messages here.
 */
return [

    // Standard laravel validation lines
    'accepted'             => ':attribute',
    'active_url'           => ':attributeURL',
    'after'                => ':attribute:date',
    'alpha'                => ':attribute',
    'alpha_dash'           => ':attribute, , ',
    'alpha_num'            => ':attribute',
    'array'                => ':attribute',
    'backup_codes'         => '',
    'before'               => ':attribute:date',
    'between'              => [
        'numeric' => ':attribute:min:max',
        'file'    => ':attribute:min:max',
        'string'  => ':attribute:min:max',
        'array'   => ':attribute:min:max',
    ],
    'boolean'              => ':attributetruefalse',
    'confirmed'            => ':attribute',
    'date'                 => ':attribute',
    'date_format'          => ':attribute:format',
    'different'            => ':attribute:other',
    'digits'               => ':attribute:digits',
    'digits_between'       => ':attribute:min:max',
    'email'                => ':attributeE',
    'ends_with' => ':attribute:values',
    'file'                 => ':attribute',
    'filled'               => ':attribute',
    'gt'                   => [
        'numeric' => ':attribute:value',
        'file'    => ':attribute:value',
        'string'  => ':attribute:value',
        'array'   => ':attribute:value',
    ],
    'gte'                  => [
        'numeric' => ':attribute:value',
        'file'    => ':attribute:value',
        'string'  => ':attribute:value',
        'array'   => ':attribute:value',
    ],
    'exists'               => ':attribute',
    'image'                => ':attribute',
    'image_extension'      => ':attribute',
    'in'                   => ':attribute',
    'integer'              => ':attribute',
    'ip'                   => ':attributeIP',
    'ipv4'                 => ':attributeIPv4',
    'ipv6'                 => ':attributeIPv6',
    'json'                 => ':attributeJSON',
    'lt'                   => [
        'numeric' => ':attribute:value',
        'file'    => ':attribute:value',
        'string'  => ':attribute:value',
        'array'   => ':attribute:value',
    ],
    'lte'                  => [
        'numeric' => ':attribute:value',
        'file'    => ':attribute:value',
        'string'  => ':attribute:value',
        'array'   => ':attribute:value',
    ],
    'max'                  => [
        'numeric' => ':attribute:max',
        'file'    => ':attribute:max',
        'string'  => ':attribute:max',
        'array'   => ':attribute:max',
    ],
    'mimes'                => ':attribute: :values.',
    'min'                  => [
        'numeric' => ':attribute:min',
        'file'    => ':attribute:min',
        'string'  => ':attribute:min',
        'array'   => ':attribute:min',
    ],
    'not_in'               => ':attribute',
    'not_regex'            => ':attribute',
    'numeric'              => ':attribute',
    'regex'                => ':attribute',
    'required'             => ':attribute',
    'required_if'          => ':other:value:attribute',
    'required_with'        => ':values:attribute',
    'required_with_all'    => ':values:attribute',
    'required_without'     => ':values:attribute',
    'required_without_all' => ':values:attribute',
    'same'                 => ':attribute:other',
    'safe_url'             => '',
    'size'                 => [
        'numeric' => ':attribute:size',
        'file'    => ':attribute:size',
        'string'  => ':attribute:size',
        'array'   => ':attribute:size',
    ],
    'string'               => ':attribute',
    'timezone'             => ':attribute',
    'totp'                 => '',
    'unique'               => ':attribute',
    'url'                  => ':attribute',
    'uploaded'             => '',

    // Custom validation lines
    'custom' => [
        'password-confirm' => [
            'required_with' => '',
        ],
    ],

    // Custom validation attributes
    'attributes' => [],
];

Function Calls

None

Variables

None

Stats

MD5 adb8c448931a4022ffac691e9d835dce
Eval Count 0
Decode Time 122 ms