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 /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesb..
Decoded Output download
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Josh Soref
* - Shakib Hossain
* - Raju
* - Aniruddha Adhikary
* - JD Isaacks
* - Saiful Islam
* - Faisal Islam
*/
return [
'year' => ':count ',
'a_year' => ' |:count ',
'y' => ' |:count ',
'month' => ':count ',
'a_month' => ' |:count ',
'm' => ' |:count ',
'week' => ':count ',
'a_week' => ' |:count ',
'w' => ' |:count ',
'day' => ':count ',
'a_day' => ' |:count ',
'd' => ' |:count ',
'hour' => ':count ',
'a_hour' => ' |:count ',
'h' => ' |:count ',
'minute' => ':count ',
'a_minute' => ' |:count ',
'min' => ' |:count ',
'second' => ':count ',
'a_second' => ' |:count ',
's' => ' |:count ',
'ago' => ':time ',
'from_now' => ':time ',
'after' => ':time ',
'before' => ':time ',
'diff_now' => '',
'diff_today' => '',
'diff_yesterday' => '',
'diff_tomorrow' => '',
'period_recurrences' => ':count |:count ',
'period_interval' => ' :interval',
'period_start_date' => ':date ',
'period_end_date' => ':date ',
'formats' => [
'LT' => 'A Oh:Om ',
'LTS' => 'A Oh:Om:Os ',
'L' => 'OD/OM/OY',
'LL' => 'OD MMMM OY',
'LLL' => 'OD MMMM OY, A Oh:Om ',
'LLLL' => 'dddd, OD MMMM OY, A Oh:Om ',
],
'calendar' => [
'sameDay' => '[] LT',
'nextDay' => '[] LT',
'nextWeek' => 'dddd, LT',
'lastDay' => '[] LT',
'lastWeek' => '[] dddd, LT',
'sameElse' => 'L',
],
'meridiem' => static function ($hour) {
if ($hour < 4) {
return '';
}
if ($hour < 10) {
return '';
}
if ($hour < 17) {
return '';
}
if ($hour < 20) {
return '';
}
return '';
},
'months' => ['', '', '', '', '', '', '', '', '', '', '', ''],
'months_short' => ['', '', '', '', '', '', '', '', '', '', '', ''],
'weekdays' => ['', '', '', '', '', '', ''],
'weekdays_short' => ['', '', '', '', '', '', ''],
'weekdays_min' => ['', '', '', '', '', '', ''],
'list' => [', ', ' '],
'first_day_of_week' => 0,
'day_of_first_week_of_year' => 1,
'weekdays_standalone' => ['', '', '', '', '', '', ''],
'weekdays_min_standalone' => ['', '', '', '', '', '', ''],
'months_short_standalone' => ['', '', '', '', '', '', '', '', '', '', '', ''],
'alt_numbers' => ['', '', '', '', '', '', '', '', '', ''],
];
?>
Did this file decode correctly?
Original Code
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Josh Soref
* - Shakib Hossain
* - Raju
* - Aniruddha Adhikary
* - JD Isaacks
* - Saiful Islam
* - Faisal Islam
*/
return [
'year' => ':count ',
'a_year' => ' |:count ',
'y' => ' |:count ',
'month' => ':count ',
'a_month' => ' |:count ',
'm' => ' |:count ',
'week' => ':count ',
'a_week' => ' |:count ',
'w' => ' |:count ',
'day' => ':count ',
'a_day' => ' |:count ',
'd' => ' |:count ',
'hour' => ':count ',
'a_hour' => ' |:count ',
'h' => ' |:count ',
'minute' => ':count ',
'a_minute' => ' |:count ',
'min' => ' |:count ',
'second' => ':count ',
'a_second' => ' |:count ',
's' => ' |:count ',
'ago' => ':time ',
'from_now' => ':time ',
'after' => ':time ',
'before' => ':time ',
'diff_now' => '',
'diff_today' => '',
'diff_yesterday' => '',
'diff_tomorrow' => '',
'period_recurrences' => ':count |:count ',
'period_interval' => ' :interval',
'period_start_date' => ':date ',
'period_end_date' => ':date ',
'formats' => [
'LT' => 'A Oh:Om ',
'LTS' => 'A Oh:Om:Os ',
'L' => 'OD/OM/OY',
'LL' => 'OD MMMM OY',
'LLL' => 'OD MMMM OY, A Oh:Om ',
'LLLL' => 'dddd, OD MMMM OY, A Oh:Om ',
],
'calendar' => [
'sameDay' => '[] LT',
'nextDay' => '[] LT',
'nextWeek' => 'dddd, LT',
'lastDay' => '[] LT',
'lastWeek' => '[] dddd, LT',
'sameElse' => 'L',
],
'meridiem' => static function ($hour) {
if ($hour < 4) {
return '';
}
if ($hour < 10) {
return '';
}
if ($hour < 17) {
return '';
}
if ($hour < 20) {
return '';
}
return '';
},
'months' => ['', '', '', '', '', '', '', '', '', '', '', ''],
'months_short' => ['', '', '', '', '', '', '', '', '', '', '', ''],
'weekdays' => ['', '', '', '', '', '', ''],
'weekdays_short' => ['', '', '', '', '', '', ''],
'weekdays_min' => ['', '', '', '', '', '', ''],
'list' => [', ', ' '],
'first_day_of_week' => 0,
'day_of_first_week_of_year' => 1,
'weekdays_standalone' => ['', '', '', '', '', '', ''],
'weekdays_min_standalone' => ['', '', '', '', '', '', ''],
'months_short_standalone' => ['', '', '', '', '', '', '', '', '', '', '', ''],
'alt_numbers' => ['', '', '', '', '', '', '', '', '', ''],
];
Function Calls
None |
Stats
MD5 | cfe35d33081c291efe1a5be60dd089b1 |
Eval Count | 0 |
Decode Time | 104 ms |