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
* - JD Isaacks
* - Atef Ben Ali (atefBB)
* - Mohamed Sabil (mohamedsabil83)
*/
$months = [
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
];
return [
'year' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_year' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'month' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_month' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'week' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_week' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'day' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_day' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'hour' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_hour' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'minute' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_minute' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'second' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_second' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'ago' => ' :time',
'from_now' => ' :time',
'after' => ' :time',
'before' => ' :time',
'diff_now' => '',
'diff_today' => '',
'diff_today_regexp' => '(?:\s+)?(?:\s+)?',
'diff_yesterday' => '',
'diff_yesterday_regexp' => '(?:\s+)?(?:\s+)?',
'diff_tomorrow' => '',
'diff_tomorrow_regexp' => '(?:\s+)?(?:\s+)?',
'diff_before_yesterday' => ' ',
'diff_after_tomorrow' => ' ',
'period_recurrences' => implode('|', ['{0}', '{1}', '{2}:count ', ']2,11[:count ', ']10,Inf[:count ']),
'period_interval' => ' :interval',
'period_start_date' => ' :date',
'period_end_date' => ' :date',
'months' => $months,
'months_short' => $months,
'weekdays' => ['', '', '', '', '', '', ''],
'weekdays_short' => ['', '', '', '', '', '', ''],
'weekdays_min' => ['', '', '', '', '', '', ''],
'list' => [' ', ' '],
'first_day_of_week' => 6,
'day_of_first_week_of_year' => 1,
'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' => '[ ] LT',
'nextDay' => '[ ] LT',
'nextWeek' => 'dddd [ ] LT',
'lastDay' => '[ ] LT',
'lastWeek' => 'dddd [ ] LT',
'sameElse' => 'L',
],
'meridiem' => ['', ''],
'weekend' => [5, 6],
];
?>
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
* - JD Isaacks
* - Atef Ben Ali (atefBB)
* - Mohamed Sabil (mohamedsabil83)
*/
$months = [
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
];
return [
'year' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_year' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'month' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_month' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'week' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_week' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'day' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_day' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'hour' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_hour' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'minute' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_minute' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'second' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'a_second' => implode('|', ['{0}:count ', '{1}', '{2}', ']2,11[:count ', ']10,Inf[:count ']),
'ago' => ' :time',
'from_now' => ' :time',
'after' => ' :time',
'before' => ' :time',
'diff_now' => '',
'diff_today' => '',
'diff_today_regexp' => '(?:\\s+)?(?:\\s+)?',
'diff_yesterday' => '',
'diff_yesterday_regexp' => '(?:\\s+)?(?:\\s+)?',
'diff_tomorrow' => '',
'diff_tomorrow_regexp' => '(?:\\s+)?(?:\\s+)?',
'diff_before_yesterday' => ' ',
'diff_after_tomorrow' => ' ',
'period_recurrences' => implode('|', ['{0}', '{1}', '{2}:count ', ']2,11[:count ', ']10,Inf[:count ']),
'period_interval' => ' :interval',
'period_start_date' => ' :date',
'period_end_date' => ' :date',
'months' => $months,
'months_short' => $months,
'weekdays' => ['', '', '', '', '', '', ''],
'weekdays_short' => ['', '', '', '', '', '', ''],
'weekdays_min' => ['', '', '', '', '', '', ''],
'list' => [' ', ' '],
'first_day_of_week' => 6,
'day_of_first_week_of_year' => 1,
'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' => '[ ] LT',
'nextDay' => '[ ] LT',
'nextWeek' => 'dddd [ ] LT',
'lastDay' => '[ ] LT',
'lastWeek' => 'dddd [ ] LT',
'sameElse' => 'L',
],
'meridiem' => ['', ''],
'weekend' => [5, 6],
];
Function Calls
None |
Stats
MD5 | d7badcdd1beaa083bd765195151e143b |
Eval Count | 0 |
Decode Time | 111 ms |