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:
 * - Alessandro Di Felice
 * - Franois B
 * - Tim Fish
 * - Gabriel Monteagudo
 * - JD Isaacks
 * - yiannisdesp
 * - Ilias Kasmeridis (iliaskasm)
 */

use Carbon\CarbonInterface;

return [
    'year' => ':count |:count ',
    'a_year' => ' |:count ',
    'y' => ':count .',
    'month' => ':count |:count ',
    'a_month' => ' |:count ',
    'm' => ':count .',
    'week' => ':count |:count ',
    'a_week' => ' |:count ',
    'w' => ':count .',
    'day' => ':count |:count ',
    'a_day' => ' |:count ',
    'd' => ':count .',
    'hour' => ':count |:count ',
    'a_hour' => ' |:count ',
    'h' => ':count |:count ',
    'minute' => ':count |:count ',
    'a_minute' => ' |:count ',
    'min' => ':count .',
    'second' => ':count |:count ',
    'a_second' => ' |:count ',
    's' => ':count .',
    'ago' => ' :time',
    'from_now' => ' :time',
    'after' => ':time ',
    'before' => ':time ',
    'diff_now' => '',
    'diff_today' => '',
    'diff_today_regexp' => '(?:\s+{})?',
    'diff_yesterday' => '',
    'diff_yesterday_regexp' => '(?:\s+{})?',
    'diff_tomorrow' => '',
    'diff_tomorrow_regexp' => '(?:\s+{})?',
    'formats' => [
        'LT' => 'h:mm A',
        'LTS' => 'h:mm:ss A',
        'L' => 'DD/MM/YYYY',
        'LL' => 'D MMMM YYYY',
        'LLL' => 'D MMMM YYYY h:mm A',
        'LLLL' => 'dddd, D MMMM YYYY h:mm A',
    ],
    'calendar' => [
        'sameDay' => '[ {}] LT',
        'nextDay' => '[ {}] LT',
        'nextWeek' => 'dddd [{}] LT',
        'lastDay' => '[ {}] LT',
        'lastWeek' => static fn (CarbonInterface $current) => match ($current->dayOfWeek) {
            6 => '[ ] dddd [{}] LT',
            default => '[ ] dddd [{}] LT',
        },
        'sameElse' => 'L',
    ],
    'ordinal' => ':number',
    'meridiem' => ['', '', '', ''],
    'months' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'months_standalone' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'months_regexp' => '/(D[oD]?[\s,]+MMMM|L{2,4}|l{2,4})/',
    'months_short' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'weekdays' => ['', '', '', '', '', '', ''],
    'weekdays_short' => ['', '', '', '', '', '', ''],
    'weekdays_min' => ['', '', '', '', '', '', ''],
    'first_day_of_week' => 1,
    'day_of_first_week_of_year' => 4,
    'list' => [', ', '  '],
];
 ?>

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:
 * - Alessandro Di Felice
 * - Franois B
 * - Tim Fish
 * - Gabriel Monteagudo
 * - JD Isaacks
 * - yiannisdesp
 * - Ilias Kasmeridis (iliaskasm)
 */

use Carbon\CarbonInterface;

return [
    'year' => ':count |:count ',
    'a_year' => ' |:count ',
    'y' => ':count .',
    'month' => ':count |:count ',
    'a_month' => ' |:count ',
    'm' => ':count .',
    'week' => ':count |:count ',
    'a_week' => ' |:count ',
    'w' => ':count .',
    'day' => ':count |:count ',
    'a_day' => ' |:count ',
    'd' => ':count .',
    'hour' => ':count |:count ',
    'a_hour' => ' |:count ',
    'h' => ':count |:count ',
    'minute' => ':count |:count ',
    'a_minute' => ' |:count ',
    'min' => ':count .',
    'second' => ':count |:count ',
    'a_second' => ' |:count ',
    's' => ':count .',
    'ago' => ' :time',
    'from_now' => ' :time',
    'after' => ':time ',
    'before' => ':time ',
    'diff_now' => '',
    'diff_today' => '',
    'diff_today_regexp' => '(?:\\s+{})?',
    'diff_yesterday' => '',
    'diff_yesterday_regexp' => '(?:\\s+{})?',
    'diff_tomorrow' => '',
    'diff_tomorrow_regexp' => '(?:\\s+{})?',
    'formats' => [
        'LT' => 'h:mm A',
        'LTS' => 'h:mm:ss A',
        'L' => 'DD/MM/YYYY',
        'LL' => 'D MMMM YYYY',
        'LLL' => 'D MMMM YYYY h:mm A',
        'LLLL' => 'dddd, D MMMM YYYY h:mm A',
    ],
    'calendar' => [
        'sameDay' => '[ {}] LT',
        'nextDay' => '[ {}] LT',
        'nextWeek' => 'dddd [{}] LT',
        'lastDay' => '[ {}] LT',
        'lastWeek' => static fn (CarbonInterface $current) => match ($current->dayOfWeek) {
            6 => '[ ] dddd [{}] LT',
            default => '[ ] dddd [{}] LT',
        },
        'sameElse' => 'L',
    ],
    'ordinal' => ':number',
    'meridiem' => ['', '', '', ''],
    'months' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'months_standalone' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'months_regexp' => '/(D[oD]?[\s,]+MMMM|L{2,4}|l{2,4})/',
    'months_short' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'weekdays' => ['', '', '', '', '', '', ''],
    'weekdays_short' => ['', '', '', '', '', '', ''],
    'weekdays_min' => ['', '', '', '', '', '', ''],
    'first_day_of_week' => 1,
    'day_of_first_week_of_year' => 4,
    'list' => [', ', '  '],
];

Function Calls

None

Variables

None

Stats

MD5 97e85c332c708ac37299d7f6e4c99fd1
Eval Count 0
Decode Time 93 ms