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
 */
return [
    'year' => '{1}|:count ',
    'month' => '{1}o|:count ',
    'week' => ':count ',
    'day' => '{1}|:count o',
    'hour' => '{1}|:count ',
    'minute' => '{1}|:count ',
    'second' => '{1}|:count ',
    'ago' => ' :time',
    'from_now' => '   :time',
    'diff_today' => '',
    'diff_yesterday' => '',
    'diff_yesterday_regexp' => '(?:\s+)?',
    'diff_tomorrow' => '',
    'diff_tomorrow_regexp' => '(?:\s+)?',
    'diff_today_regexp' => '(?:\s+)?',
    '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',
    ],
    'months' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'months_short' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'weekdays' => ['', '', '', '', '', '', ''],
    'weekdays_short' => ['', '', '', '', '', '', ''],
    'weekdays_min' => ['', '', '', '', '', '', ''],
    'first_day_of_week' => 6,
    'day_of_first_week_of_year' => 1,
    '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
 */
return [
    'year' => '{1}|:count ',
    'month' => '{1}o|:count ',
    'week' => ':count ',
    'day' => '{1}|:count o',
    'hour' => '{1}|:count ',
    'minute' => '{1}|:count ',
    'second' => '{1}|:count ',
    'ago' => ' :time',
    'from_now' => '   :time',
    'diff_today' => '',
    'diff_yesterday' => '',
    'diff_yesterday_regexp' => '(?:\\s+)?',
    'diff_tomorrow' => '',
    'diff_tomorrow_regexp' => '(?:\\s+)?',
    'diff_today_regexp' => '(?:\\s+)?',
    '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',
    ],
    'months' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'months_short' => ['', '', '', '', '', '', '', '', '', '', '', ''],
    'weekdays' => ['', '', '', '', '', '', ''],
    'weekdays_short' => ['', '', '', '', '', '', ''],
    'weekdays_min' => ['', '', '', '', '', '', ''],
    'first_day_of_week' => 6,
    'day_of_first_week_of_year' => 1,
    'weekend' => [5, 6],
];

Function Calls

None

Variables

None

Stats

MD5 6117239ef3be81757b1f8f126e928099
Eval Count 0
Decode Time 99 ms