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.
 */

$months = [
    '',
    '',
    '',
    '',
    '',
    '',
    '',
    '',
    '',
    '',
    '',
    '',
];

$weekdays = [
    '',
    '',
    '',
    '',
    '',
    '',
    '',
];

/*
 * Authors:
 * - Josh Soref
 * - Jawish Hameed
 */
return [
    'year' => ':count '.'',
    'a_year' => '{1}'.''.'|:count '.'',
    'month' => ':count '.'',
    'a_month' => '{1}'.''.'|:count '.'',
    'week' => ':count '.'',
    'a_week' => '{1}'.''.'|:count '.'',
    'day' => ':count '.'',
    'a_day' => '{1}'.''.'|:count '.'',
    'hour' => ':count '.'',
    'a_hour' => '{1}'.''.'|:count '.'',
    'minute' => ':count '.'',
    'a_minute' => '{1}'.''.'|:count '.'',
    'second' => ':count '.'',
    'a_second' => '{1}'.''.'|:count '.'',
    'ago' => ' :time',
    'from_now' => ' :time',
    'after' => ':time ',
    'before' => ':time ',
    'diff_yesterday' => '',
    'diff_today' => '',
    'diff_tomorrow' => '',
    'formats' => [
        'LT' => 'HH:mm',
        'LTS' => 'HH:mm:ss',
        'L' => 'D/M/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' => ['', ''],
    'months' => $months,
    'months_short' => $months,
    'weekdays' => $weekdays,
    'weekdays_short' => $weekdays,
    'weekdays_min' => ['', '', '', '', '', '', ''],
    'list' => [', ', '  '],
    'first_day_of_week' => 0,
    'day_of_first_week_of_year' => 1,
];
 ?>

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.
 */

$months = [
    '',
    '',
    '',
    '',
    '',
    '',
    '',
    '',
    '',
    '',
    '',
    '',
];

$weekdays = [
    '',
    '',
    '',
    '',
    '',
    '',
    '',
];

/*
 * Authors:
 * - Josh Soref
 * - Jawish Hameed
 */
return [
    'year' => ':count '.'',
    'a_year' => '{1}'.''.'|:count '.'',
    'month' => ':count '.'',
    'a_month' => '{1}'.''.'|:count '.'',
    'week' => ':count '.'',
    'a_week' => '{1}'.''.'|:count '.'',
    'day' => ':count '.'',
    'a_day' => '{1}'.''.'|:count '.'',
    'hour' => ':count '.'',
    'a_hour' => '{1}'.''.'|:count '.'',
    'minute' => ':count '.'',
    'a_minute' => '{1}'.''.'|:count '.'',
    'second' => ':count '.'',
    'a_second' => '{1}'.''.'|:count '.'',
    'ago' => ' :time',
    'from_now' => ' :time',
    'after' => ':time ',
    'before' => ':time ',
    'diff_yesterday' => '',
    'diff_today' => '',
    'diff_tomorrow' => '',
    'formats' => [
        'LT' => 'HH:mm',
        'LTS' => 'HH:mm:ss',
        'L' => 'D/M/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' => ['', ''],
    'months' => $months,
    'months_short' => $months,
    'weekdays' => $weekdays,
    'weekdays_short' => $weekdays,
    'weekdays_min' => ['', '', '', '', '', '', ''],
    'list' => [', ', '  '],
    'first_day_of_week' => 0,
    'day_of_first_week_of_year' => 1,
];

Function Calls

None

Variables

None

Stats

MD5 9236d632ae1159ba4a8bce6398024751
Eval Count 0
Decode Time 74 ms