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
* - Alan Agius
* - Erhan Gundogan
* - Franois B
* - JD Isaacks
* - Murat Yksel
* - Baran engl
* - Selami (selamialtin)
* - TeomanBey
*/
return [
'year' => ':count yl',
'a_year' => '{1}bir yl|]1,Inf[:count yl',
'y' => ':county',
'month' => ':count ay',
'a_month' => '{1}bir ay|]1,Inf[:count ay',
'm' => ':countay',
'week' => ':count hafta',
'a_week' => '{1}bir hafta|]1,Inf[:count hafta',
'w' => ':counth',
'day' => ':count gn',
'a_day' => '{1}bir gn|]1,Inf[:count gn',
'd' => ':countg',
'hour' => ':count saat',
'a_hour' => '{1}bir saat|]1,Inf[:count saat',
'h' => ':countsa',
'minute' => ':count dakika',
'a_minute' => '{1}bir dakika|]1,Inf[:count dakika',
'min' => ':countdk',
'second' => ':count saniye',
'a_second' => '{1}birka saniye|]1,Inf[:count saniye',
's' => ':countsn',
'ago' => ':time nce',
'from_now' => ':time sonra',
'after' => ':time sonra',
'before' => ':time nce',
'diff_now' => 'imdi',
'diff_today' => 'bugn',
'diff_today_regexp' => 'bugn(?:\s+saat)?',
'diff_yesterday' => 'dn',
'diff_tomorrow' => 'yarn',
'diff_tomorrow_regexp' => 'yarn(?:\s+saat)?',
'diff_before_yesterday' => 'evvelsi gn',
'diff_after_tomorrow' => 'br gn',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD.MM.YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY HH:mm',
'LLLL' => 'dddd, D MMMM YYYY HH:mm',
],
'calendar' => [
'sameDay' => '[bugn saat] LT',
'nextDay' => '[yarn saat] LT',
'nextWeek' => '[gelecek] dddd [saat] LT',
'lastDay' => '[dn] LT',
'lastWeek' => '[geen] dddd [saat] LT',
'sameElse' => 'L',
],
'ordinal' => static function ($number, $period) {
switch ($period) {
case 'd':
case 'D':
case 'Do':
case 'DD':
return $number;
default:
if ($number === 0) { // special case for zero
return "$number'nc";
}
static $suffixes = [
1 => '\'inci',
5 => '\'inci',
8 => '\'inci',
70 => '\'inci',
80 => '\'inci',
2 => '\'nci',
7 => '\'nci',
20 => '\'nci',
50 => '\'nci',
3 => '\'nc',
4 => '\'nc',
100 => '\'nc',
6 => '\'nc',
9 => '\'uncu',
10 => '\'uncu',
30 => '\'uncu',
60 => '\'nc',
90 => '\'nc',
];
$lastDigit = $number % 10;
return $number.($suffixes[$lastDigit] ?? $suffixes[$number % 100 - $lastDigit] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
}
},
'meridiem' => ['', 'S', '', 's'],
'months' => ['Ocak', 'ubat', 'Mart', 'Nisan', 'Mays', 'Haziran', 'Temmuz', 'Austos', 'Eyll', 'Ekim', 'Kasm', 'Aralk'],
'months_short' => ['Oca', 'ub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Au', 'Eyl', 'Eki', 'Kas', 'Ara'],
'weekdays' => ['Pazar', 'Pazartesi', 'Sal', 'aramba', 'Perembe', 'Cuma', 'Cumartesi'],
'weekdays_short' => ['Paz', 'Pts', 'Sal', 'ar', 'Per', 'Cum', 'Cts'],
'weekdays_min' => ['Pz', 'Pt', 'Sa', 'a', 'Pe', 'Cu', 'Ct'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
'list' => [', ', ' ve '],
];
?>
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
* - Alan Agius
* - Erhan Gundogan
* - Franois B
* - JD Isaacks
* - Murat Yksel
* - Baran engl
* - Selami (selamialtin)
* - TeomanBey
*/
return [
'year' => ':count yl',
'a_year' => '{1}bir yl|]1,Inf[:count yl',
'y' => ':county',
'month' => ':count ay',
'a_month' => '{1}bir ay|]1,Inf[:count ay',
'm' => ':countay',
'week' => ':count hafta',
'a_week' => '{1}bir hafta|]1,Inf[:count hafta',
'w' => ':counth',
'day' => ':count gn',
'a_day' => '{1}bir gn|]1,Inf[:count gn',
'd' => ':countg',
'hour' => ':count saat',
'a_hour' => '{1}bir saat|]1,Inf[:count saat',
'h' => ':countsa',
'minute' => ':count dakika',
'a_minute' => '{1}bir dakika|]1,Inf[:count dakika',
'min' => ':countdk',
'second' => ':count saniye',
'a_second' => '{1}birka saniye|]1,Inf[:count saniye',
's' => ':countsn',
'ago' => ':time nce',
'from_now' => ':time sonra',
'after' => ':time sonra',
'before' => ':time nce',
'diff_now' => 'imdi',
'diff_today' => 'bugn',
'diff_today_regexp' => 'bugn(?:\\s+saat)?',
'diff_yesterday' => 'dn',
'diff_tomorrow' => 'yarn',
'diff_tomorrow_regexp' => 'yarn(?:\\s+saat)?',
'diff_before_yesterday' => 'evvelsi gn',
'diff_after_tomorrow' => 'br gn',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD.MM.YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY HH:mm',
'LLLL' => 'dddd, D MMMM YYYY HH:mm',
],
'calendar' => [
'sameDay' => '[bugn saat] LT',
'nextDay' => '[yarn saat] LT',
'nextWeek' => '[gelecek] dddd [saat] LT',
'lastDay' => '[dn] LT',
'lastWeek' => '[geen] dddd [saat] LT',
'sameElse' => 'L',
],
'ordinal' => static function ($number, $period) {
switch ($period) {
case 'd':
case 'D':
case 'Do':
case 'DD':
return $number;
default:
if ($number === 0) { // special case for zero
return "$number'nc";
}
static $suffixes = [
1 => '\'inci',
5 => '\'inci',
8 => '\'inci',
70 => '\'inci',
80 => '\'inci',
2 => '\'nci',
7 => '\'nci',
20 => '\'nci',
50 => '\'nci',
3 => '\'nc',
4 => '\'nc',
100 => '\'nc',
6 => '\'nc',
9 => '\'uncu',
10 => '\'uncu',
30 => '\'uncu',
60 => '\'nc',
90 => '\'nc',
];
$lastDigit = $number % 10;
return $number.($suffixes[$lastDigit] ?? $suffixes[$number % 100 - $lastDigit] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
}
},
'meridiem' => ['', 'S', '', 's'],
'months' => ['Ocak', 'ubat', 'Mart', 'Nisan', 'Mays', 'Haziran', 'Temmuz', 'Austos', 'Eyll', 'Ekim', 'Kasm', 'Aralk'],
'months_short' => ['Oca', 'ub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Au', 'Eyl', 'Eki', 'Kas', 'Ara'],
'weekdays' => ['Pazar', 'Pazartesi', 'Sal', 'aramba', 'Perembe', 'Cuma', 'Cumartesi'],
'weekdays_short' => ['Paz', 'Pts', 'Sal', 'ar', 'Per', 'Cum', 'Cts'],
'weekdays_min' => ['Pz', 'Pt', 'Sa', 'a', 'Pe', 'Cu', 'Ct'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
'list' => [', ', ' ve '],
];
Function Calls
None |
Stats
MD5 | 8106d5b2ca4321e6d529d39b5f180bf0 |
Eval Count | 0 |
Decode Time | 98 ms |