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:
 * - JD Isaacks
 */
return [
    'year' => ':count ',
    'a_year' => ' |:count ',
    'month' => ':count ',
    'a_month' => ' |:count ',
    'week' => ':count ',
    'a_week' => '|:count ',
    'day' => ':count ',
    'a_day' => ' |:count ',
    'hour' => ':count ',
    'a_hour' => ' |:count ',
    'minute' => ':count ',
    'a_minute' => ' |:count ',
    'second' => ':count ',
    'a_second' => ' |:count ',
    'ago' => ':time ',
    'from_now' => ':time ',
    'diff_now' => '',
    'diff_today' => '',
    'diff_yesterday' => '',
    'diff_tomorrow' => '',
    'formats' => [
        'LT' => 'A h:mm -',
        'LTS' => 'A h:mm:ss -',
        'L' => 'DD/MM/YYYY',
        'LL' => 'D MMMM YYYY',
        'LLL' => 'D MMMM YYYY, A h:mm -',
        'LLLL' => 'dddd, D MMMM YYYY, A h:mm -',
    ],
    'calendar' => [
        'sameDay' => '[] LT',
        'nextDay' => '[] LT',
        'nextWeek' => 'dddd, LT',
        'lastDay' => '[] LT',
        'lastWeek' => '[] dddd, LT',
        'sameElse' => 'L',
    ],
    'meridiem' => static function ($hour) {
        if ($hour < 4) {
            return '';
        }
        if ($hour < 12) {
            return '';
        }
        if ($hour < 17) {
            return ' ';
        }
        if ($hour < 20) {
            return '';
        }

        return '';
    },
    'months' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'months_short' => ['.', '.', '.', '.', '', '', '.', '.', '.', '.', '.', '.'],
    'weekdays' => ['', '', '', '', '', '', ''],
    'weekdays_short' => ['', '', '', '', '', '', ''],
    'weekdays_min' => ['', '', '', '', '', '', ''],
    'list' => ', ',
    'weekend' => [0, 0],
];
 ?>

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:
 * - JD Isaacks
 */
return [
    'year' => ':count ',
    'a_year' => ' |:count ',
    'month' => ':count ',
    'a_month' => ' |:count ',
    'week' => ':count ',
    'a_week' => '|:count ',
    'day' => ':count ',
    'a_day' => ' |:count ',
    'hour' => ':count ',
    'a_hour' => ' |:count ',
    'minute' => ':count ',
    'a_minute' => ' |:count ',
    'second' => ':count ',
    'a_second' => ' |:count ',
    'ago' => ':time ',
    'from_now' => ':time ',
    'diff_now' => '',
    'diff_today' => '',
    'diff_yesterday' => '',
    'diff_tomorrow' => '',
    'formats' => [
        'LT' => 'A h:mm -',
        'LTS' => 'A h:mm:ss -',
        'L' => 'DD/MM/YYYY',
        'LL' => 'D MMMM YYYY',
        'LLL' => 'D MMMM YYYY, A h:mm -',
        'LLLL' => 'dddd, D MMMM YYYY, A h:mm -',
    ],
    'calendar' => [
        'sameDay' => '[] LT',
        'nextDay' => '[] LT',
        'nextWeek' => 'dddd, LT',
        'lastDay' => '[] LT',
        'lastWeek' => '[] dddd, LT',
        'sameElse' => 'L',
    ],
    'meridiem' => static function ($hour) {
        if ($hour < 4) {
            return '';
        }
        if ($hour < 12) {
            return '';
        }
        if ($hour < 17) {
            return ' ';
        }
        if ($hour < 20) {
            return '';
        }

        return '';
    },
    'months' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'months_short' => ['.', '.', '.', '.', '', '', '.', '.', '.', '.', '.', '.'],
    'weekdays' => ['', '', '', '', '', '', ''],
    'weekdays_short' => ['', '', '', '', '', '', ''],
    'weekdays_min' => ['', '', '', '', '', '', ''],
    'list' => ', ',
    'weekend' => [0, 0],
];

Function Calls

None

Variables

None

Stats

MD5 ac64c281ba3aaca6f617cb9500dcd705
Eval Count 0
Decode Time 106 ms