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 return [ /* |-------------------------------------------------------------..
Decoded Output download
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| such as the size rules. Feel free to tweak each of these messages.
|
*/
'accepted' => ':attribute .',
'active_url' => ':attribute URL .',
'after' => ':attribute :date.',
'after_or_equal' => ': : .',
'alpha' => ':attribute .',
'alpha_dash' => ':attribute , .',
'alpha_num' => ':attribute .',
'array' => ': .',
'before' => ':attribute :date.',
'before_or_equal' => ': : .',
'between' => [
'numeric' => ':attribute :min :max.',
'file' => ':attribute :min :max KB.',
'string' => ':attribute :min :max .',
'array' => ': : min : max items.',
],
'boolean' => ':attribute .',
'confirmed' => ':attribute .',
'date' => ':attribute .',
'date_format' => ':attribute :format.',
'different' => ':attribute :other .',
'digits' => ':attribute :digits .',
'digits_between' => ':attribute :min :max .',
'dimensions' => ': .',
'distinct' => ': atribut .',
'email' => ':attribute .',
'exists' => ' :attribute .',
'file' => ': .',
'filled' => ' : .',
'image' => ':attribute .',
'import_field_empty' => ' :fieldname .',
'in' => ' :attribute .',
'in_array' => ': atribut : .',
'integer' => ':attribute .',
'ip' => ':attribute IP .',
'ipv4' => ': IPv4 .',
'ipv6' => ': IPv6 .',
'is_unique_department' => ':attribute .',
'json' => ': JSON.',
'max' => [
'numeric' => ':attribute - :max.',
'file' => ':attribute - :max KB.',
'string' => ':attribute - :max .',
'array' => ': : max items.',
],
'mimes' => ':attribute : :values.',
'mimetypes' => ': :: .',
'min' => [
'numeric' => ':attribute :min.',
'file' => ':attribute :min KB.',
'string' => ':attribute :min .',
'array' => ': : min .',
],
'starts_with' => ':attribute : :values',
'ends_with' => ':attribute : :values',
'not_in' => ' :attribute .',
'numeric' => ':attribute .',
'present' => ' .',
'valid_regex' => ' .',
'regex' => ' :attribute .',
'required' => ' :attribute .',
'required_if' => ' :attribute , :other :value.',
'required_unless' => ': , : : .',
'required_with' => ':attribute , :values.',
'required_with_all' => ': , : .',
'required_without' => ':attribute , :values.',
'required_without_all' => ': , : .',
'same' => ':attribute :other .',
'size' => [
'numeric' => ':attribute :size.',
'file' => ':attribute :size KB.',
'string' => ':attribute :size .',
'array' => ': : .',
],
'string' => ': .',
'timezone' => ': .',
'two_column_unique_undeleted' => ':attribute :table1 :table2. ',
'unique' => ':attribute .',
'uploaded' => ': .',
'url' => ' :attribute .',
'unique_undeleted' => ':attribute .',
'non_circular' => ':attribute .',
'not_array' => ':attribute .',
'disallow_same_pwd_as_user_fields' => ' , .',
'letters' => ' .',
'numbers' => ' .',
'case_diff' => ' .',
'symbols' => ' .',
'gte' => [
'numeric' => ' '
],
'checkboxes' => ':attribute .',
'radio_buttons' => ':attribute .',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'alpha_space' => ' : , .',
'email_array' => ' .',
'hashed_pass' => ' ',
'dumbpwd' => ' .',
'statuslabel_type' => ' ',
// date_format validation with slightly less stupid messages. It duplicates a lot, but it gets the job done :(
// We use this because the default error message for date_format is reflects php Y-m-d, which non-PHP
// people won't know how to format.
'purchase_date.date_format' => ':values YYYY-MM-DD ',
'last_audit_date.date_format' => ':attribute YYYY-MM-DD hh:mm:ss ',
'expiration_date.date_format' => ':attribute YYYY-MM-DD ',
'termination_date.date_format' => ':attribute YYYY-MM-DD ',
'expected_checkin.date_format' => ':attribute YYYY-MM-DD ',
'start_date.date_format' => ':attribute YYYY-MM-DD ',
'end_date.date_format' => ':attribute YYYY-MM-DD ',
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
/*
|--------------------------------------------------------------------------
| Generic Validation Messages
|--------------------------------------------------------------------------
*/
'invalid_value_in_field' => ' ',
];
?>
Did this file decode correctly?
Original Code
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| such as the size rules. Feel free to tweak each of these messages.
|
*/
'accepted' => ':attribute .',
'active_url' => ':attribute URL .',
'after' => ':attribute :date.',
'after_or_equal' => ': : .',
'alpha' => ':attribute .',
'alpha_dash' => ':attribute , .',
'alpha_num' => ':attribute .',
'array' => ': .',
'before' => ':attribute :date.',
'before_or_equal' => ': : .',
'between' => [
'numeric' => ':attribute :min :max.',
'file' => ':attribute :min :max KB.',
'string' => ':attribute :min :max .',
'array' => ': : min : max items.',
],
'boolean' => ':attribute .',
'confirmed' => ':attribute .',
'date' => ':attribute .',
'date_format' => ':attribute :format.',
'different' => ':attribute :other .',
'digits' => ':attribute :digits .',
'digits_between' => ':attribute :min :max .',
'dimensions' => ': .',
'distinct' => ': atribut .',
'email' => ':attribute .',
'exists' => ' :attribute .',
'file' => ': .',
'filled' => ' : .',
'image' => ':attribute .',
'import_field_empty' => ' :fieldname .',
'in' => ' :attribute .',
'in_array' => ': atribut : .',
'integer' => ':attribute .',
'ip' => ':attribute IP .',
'ipv4' => ': IPv4 .',
'ipv6' => ': IPv6 .',
'is_unique_department' => ':attribute .',
'json' => ': JSON.',
'max' => [
'numeric' => ':attribute - :max.',
'file' => ':attribute - :max KB.',
'string' => ':attribute - :max .',
'array' => ': : max items.',
],
'mimes' => ':attribute : :values.',
'mimetypes' => ': :: .',
'min' => [
'numeric' => ':attribute :min.',
'file' => ':attribute :min KB.',
'string' => ':attribute :min .',
'array' => ': : min .',
],
'starts_with' => ':attribute : :values',
'ends_with' => ':attribute : :values',
'not_in' => ' :attribute .',
'numeric' => ':attribute .',
'present' => ' .',
'valid_regex' => ' .',
'regex' => ' :attribute .',
'required' => ' :attribute .',
'required_if' => ' :attribute , :other :value.',
'required_unless' => ': , : : .',
'required_with' => ':attribute , :values.',
'required_with_all' => ': , : .',
'required_without' => ':attribute , :values.',
'required_without_all' => ': , : .',
'same' => ':attribute :other .',
'size' => [
'numeric' => ':attribute :size.',
'file' => ':attribute :size KB.',
'string' => ':attribute :size .',
'array' => ': : .',
],
'string' => ': .',
'timezone' => ': .',
'two_column_unique_undeleted' => ':attribute :table1 :table2. ',
'unique' => ':attribute .',
'uploaded' => ': .',
'url' => ' :attribute .',
'unique_undeleted' => ':attribute .',
'non_circular' => ':attribute .',
'not_array' => ':attribute .',
'disallow_same_pwd_as_user_fields' => ' , .',
'letters' => ' .',
'numbers' => ' .',
'case_diff' => ' .',
'symbols' => ' .',
'gte' => [
'numeric' => ' '
],
'checkboxes' => ':attribute .',
'radio_buttons' => ':attribute .',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'alpha_space' => ' : , .',
'email_array' => ' .',
'hashed_pass' => ' ',
'dumbpwd' => ' .',
'statuslabel_type' => ' ',
// date_format validation with slightly less stupid messages. It duplicates a lot, but it gets the job done :(
// We use this because the default error message for date_format is reflects php Y-m-d, which non-PHP
// people won't know how to format.
'purchase_date.date_format' => ':values YYYY-MM-DD ',
'last_audit_date.date_format' => ':attribute YYYY-MM-DD hh:mm:ss ',
'expiration_date.date_format' => ':attribute YYYY-MM-DD ',
'termination_date.date_format' => ':attribute YYYY-MM-DD ',
'expected_checkin.date_format' => ':attribute YYYY-MM-DD ',
'start_date.date_format' => ':attribute YYYY-MM-DD ',
'end_date.date_format' => ':attribute YYYY-MM-DD ',
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
/*
|--------------------------------------------------------------------------
| Generic Validation Messages
|--------------------------------------------------------------------------
*/
'invalid_value_in_field' => ' ',
];
Function Calls
None |
Stats
MD5 | 44246a026f052ede1b7d9dc1662e6d7b |
Eval Count | 0 |
Decode Time | 75 ms |