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:
 * - Ahmed Ali
 */

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

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

return [
    'year' => '{0}|[1,Inf]:count ',
    'y' => '{0}|[1,Inf]:count ',
    'month' => '{0}|[1,Inf]:count ',
    'm' => '{0}|[1,Inf]:count ',
    'week' => '{0}|[1,Inf]:count ',
    'w' => '{0}|[1,Inf]:count ',
    'day' => '{0}|[1,Inf]:count ',
    'd' => '{0}|[1,Inf]:count ',
    'hour' => '{0}|[1,Inf]:count ',
    'h' => '{0}|[1,Inf]:count ',
    'minute' => '{0}|[1,Inf]:count ',
    'min' => '{0}|[1,Inf]:count ',
    'second' => '{0}|[1,Inf]:count ',
    's' => '{0}|[1,Inf]: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' => [', ', '  '],
];
 ?>

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:
 * - Ahmed Ali
 */

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

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

return [
    'year' => '{0}|[1,Inf]:count ',
    'y' => '{0}|[1,Inf]:count ',
    'month' => '{0}|[1,Inf]:count ',
    'm' => '{0}|[1,Inf]:count ',
    'week' => '{0}|[1,Inf]:count ',
    'w' => '{0}|[1,Inf]:count ',
    'day' => '{0}|[1,Inf]:count ',
    'd' => '{0}|[1,Inf]:count ',
    'hour' => '{0}|[1,Inf]:count ',
    'h' => '{0}|[1,Inf]:count ',
    'minute' => '{0}|[1,Inf]:count ',
    'min' => '{0}|[1,Inf]:count ',
    'second' => '{0}|[1,Inf]:count ',
    's' => '{0}|[1,Inf]: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' => [', ', '  '],
];

Function Calls

None

Variables

None

Stats

MD5 d5482e1c659a183754923c9c48a38776
Eval Count 0
Decode Time 92 ms