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:
* - Takuya Sawada
* - Atsushi Tanaka
* - Franois B
* - Jason Katz-Brown
* - Serhan Apaydn
* - XueWei
* - JD Isaacks
* - toyama satoshi
* - atakigawa
*/
use Carbon\CarbonInterface;
return [
'year' => ':count',
'y' => ':count',
'month' => ':count',
'm' => ':count',
'week' => ':count',
'w' => ':count',
'day' => ':count',
'd' => ':count',
'hour' => ':count',
'h' => ':count',
'minute' => ':count',
'min' => ':count',
'second' => ':count',
'a_second' => '{1}|]1,Inf[:count',
's' => ':count',
'ago' => ':time',
'from_now' => ':time',
'after' => ':time',
'before' => ':time',
'diff_now' => '',
'diff_today' => '',
'diff_yesterday' => '',
'diff_tomorrow' => '',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'YYYY/MM/DD',
'LL' => 'YYYYMD',
'LLL' => 'YYYYMD HH:mm',
'LLLL' => 'YYYYMD dddd HH:mm',
],
'calendar' => [
'sameDay' => '[] LT',
'nextDay' => '[] LT',
'nextWeek' => static function (CarbonInterface $current, \Carbon\CarbonInterface $other) {
if ($other->week !== $current->week) {
return '[]dddd LT';
}
return 'dddd LT';
},
'lastDay' => '[] LT',
'lastWeek' => static function (CarbonInterface $current, \Carbon\CarbonInterface $other) {
if ($other->week !== $current->week) {
return '[]dddd LT';
}
return 'dddd LT';
},
'sameElse' => 'L',
],
'ordinal' => static function ($number, $period) {
return match ($period) {
'd', 'D', 'DDD' => $number.'',
default => $number,
};
},
'meridiem' => ['', ''],
'months' => ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
'months_short' => ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
'weekdays' => ['', '', '', '', '', '', ''],
'weekdays_short' => ['', '', '', '', '', '', ''],
'weekdays_min' => ['', '', '', '', '', '', ''],
'list' => '',
'alt_numbers' => ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''],
'alt_numbers_pow' => [
10000 => '',
1000 => '',
100 => '',
],
];
?>
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:
* - Takuya Sawada
* - Atsushi Tanaka
* - Franois B
* - Jason Katz-Brown
* - Serhan Apaydn
* - XueWei
* - JD Isaacks
* - toyama satoshi
* - atakigawa
*/
use Carbon\CarbonInterface;
return [
'year' => ':count',
'y' => ':count',
'month' => ':count',
'm' => ':count',
'week' => ':count',
'w' => ':count',
'day' => ':count',
'd' => ':count',
'hour' => ':count',
'h' => ':count',
'minute' => ':count',
'min' => ':count',
'second' => ':count',
'a_second' => '{1}|]1,Inf[:count',
's' => ':count',
'ago' => ':time',
'from_now' => ':time',
'after' => ':time',
'before' => ':time',
'diff_now' => '',
'diff_today' => '',
'diff_yesterday' => '',
'diff_tomorrow' => '',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'YYYY/MM/DD',
'LL' => 'YYYYMD',
'LLL' => 'YYYYMD HH:mm',
'LLLL' => 'YYYYMD dddd HH:mm',
],
'calendar' => [
'sameDay' => '[] LT',
'nextDay' => '[] LT',
'nextWeek' => static function (CarbonInterface $current, \Carbon\CarbonInterface $other) {
if ($other->week !== $current->week) {
return '[]dddd LT';
}
return 'dddd LT';
},
'lastDay' => '[] LT',
'lastWeek' => static function (CarbonInterface $current, \Carbon\CarbonInterface $other) {
if ($other->week !== $current->week) {
return '[]dddd LT';
}
return 'dddd LT';
},
'sameElse' => 'L',
],
'ordinal' => static function ($number, $period) {
return match ($period) {
'd', 'D', 'DDD' => $number.'',
default => $number,
};
},
'meridiem' => ['', ''],
'months' => ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
'months_short' => ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
'weekdays' => ['', '', '', '', '', '', ''],
'weekdays_short' => ['', '', '', '', '', '', ''],
'weekdays_min' => ['', '', '', '', '', '', ''],
'list' => '',
'alt_numbers' => ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''],
'alt_numbers_pow' => [
10000 => '',
1000 => '',
100 => '',
],
];
Function Calls
None |
Stats
MD5 | f104fa42d2ba67789305dc2a69642ffd |
Eval Count | 0 |
Decode Time | 108 ms |