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:
 * - Philippe Vaucher
 * - Tsutomu Kuroda
 * - tjku
 * - Max Melentiev
 * - Zolzaya Erdenebaatar
 * - Tom Hughes
 * - Akira Matsuda
 * - Christopher Dell
 * - Michael Kessler
 * - Enrique Vidal
 * - Simone Carletti
 * - Aaron Patterson
 * - Nicols Hock Isaza
 * - Ochirkhuyag
 * - Batmandakh
 * - lucifer-crybaby
 */
return [
    'year' => ':count ',
    'y' => ':count ',
    'month' => ':count ',
    'm' => ':count ',
    'week' => ':count  ',
    'w' => ':count  ',
    'day' => ':count ',
    'd' => ':count ',
    'hour' => ':count ',
    'h' => ':count',
    'minute' => ':count ',
    'min' => ':count',
    'second' => ':count ',
    's' => ':count',

    'ago_mode' => 'last',
    'ago' => ':time ',
    'year_ago' => ':count ',
    'y_ago' => ':count ',
    'month_ago' => ':count ',
    'm_ago' => ':count ',
    'day_ago' => ':count ',
    'd_ago' => ':count ',
    'week_ago' => ':count  ',
    'w_ago' => ':count  ',
    'hour_ago' => ':count ',
    'minute_ago' => ':count ',
    'second_ago' => ':count ',

    'from_now_mode' => 'last',
    'from_now' => ' :time',
    'year_from_now' => ':count  ',
    'y_from_now' => ':count  ',
    'month_from_now' => ':count  ',
    'm_from_now' => ':count  ',
    'day_from_now' => ':count  ',
    'd_from_now' => ':count  ',
    'hour_from_now' => ':count  ',
    'minute_from_now' => ':count  ',
    'second_from_now' => ':count  ',

    'after_mode' => 'last',
    'after' => ':time ',
    'year_after' => ':count ',
    'y_after' => ':count ',
    'month_after' => ':count ',
    'm_after' => ':count ',
    'day_after' => ':count ',
    'd_after' => ':count ',
    'hour_after' => ':count ',
    'minute_after' => ':count ',
    'second_after' => ':count ',

    'before_mode' => 'last',
    'before' => ':time ',
    'year_before' => ':count ',
    'y_before' => ':count ',
    'month_before' => ':count ',
    'm_before' => ':count ',
    'day_before' => ':count ',
    'd_before' => ':count ',
    'hour_before' => ':count ',
    'minute_before' => ':count ',
    'second_before' => ':count ',

    'list' => ', ',
    'diff_now' => '',
    'diff_yesterday' => '',
    'diff_tomorrow' => '',
    'formats' => [
        'LT' => 'HH:mm',
        'LTS' => 'HH:mm:ss',
        'L' => 'YYYY-MM-DD',
        'LL' => 'YYYY MMMM DD',
        'LLL' => 'YY-MM-DD, HH:mm',
        'LLLL' => 'YYYY MMMM DD, HH:mm',
    ],
    'weekdays' => ['', '', '', '', '', '', ''],
    'weekdays_short' => ['', '', '', '', '', '', ''],
    'weekdays_min' => ['', '', '', '', '', '', ''],
    'months' => ['1 ', '2 ', '3 ', '4 ', '5 ', '6 ', '7 ', '8 ', '9 ', '10 ', '11 ', '12 '],
    'months_short' => ['1 ', '2 ', '3 ', '4 ', '5 ', '6 ', '7 ', '8 ', '9 ', '10 ', '11 ', '12 '],
    'meridiem' => ['', ''],
    'first_day_of_week' => 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.
 */

/*
 * Authors:
 * - Philippe Vaucher
 * - Tsutomu Kuroda
 * - tjku
 * - Max Melentiev
 * - Zolzaya Erdenebaatar
 * - Tom Hughes
 * - Akira Matsuda
 * - Christopher Dell
 * - Michael Kessler
 * - Enrique Vidal
 * - Simone Carletti
 * - Aaron Patterson
 * - Nicols Hock Isaza
 * - Ochirkhuyag
 * - Batmandakh
 * - lucifer-crybaby
 */
return [
    'year' => ':count ',
    'y' => ':count ',
    'month' => ':count ',
    'm' => ':count ',
    'week' => ':count  ',
    'w' => ':count  ',
    'day' => ':count ',
    'd' => ':count ',
    'hour' => ':count ',
    'h' => ':count',
    'minute' => ':count ',
    'min' => ':count',
    'second' => ':count ',
    's' => ':count',

    'ago_mode' => 'last',
    'ago' => ':time ',
    'year_ago' => ':count ',
    'y_ago' => ':count ',
    'month_ago' => ':count ',
    'm_ago' => ':count ',
    'day_ago' => ':count ',
    'd_ago' => ':count ',
    'week_ago' => ':count  ',
    'w_ago' => ':count  ',
    'hour_ago' => ':count ',
    'minute_ago' => ':count ',
    'second_ago' => ':count ',

    'from_now_mode' => 'last',
    'from_now' => ' :time',
    'year_from_now' => ':count  ',
    'y_from_now' => ':count  ',
    'month_from_now' => ':count  ',
    'm_from_now' => ':count  ',
    'day_from_now' => ':count  ',
    'd_from_now' => ':count  ',
    'hour_from_now' => ':count  ',
    'minute_from_now' => ':count  ',
    'second_from_now' => ':count  ',

    'after_mode' => 'last',
    'after' => ':time ',
    'year_after' => ':count ',
    'y_after' => ':count ',
    'month_after' => ':count ',
    'm_after' => ':count ',
    'day_after' => ':count ',
    'd_after' => ':count ',
    'hour_after' => ':count ',
    'minute_after' => ':count ',
    'second_after' => ':count ',

    'before_mode' => 'last',
    'before' => ':time ',
    'year_before' => ':count ',
    'y_before' => ':count ',
    'month_before' => ':count ',
    'm_before' => ':count ',
    'day_before' => ':count ',
    'd_before' => ':count ',
    'hour_before' => ':count ',
    'minute_before' => ':count ',
    'second_before' => ':count ',

    'list' => ', ',
    'diff_now' => '',
    'diff_yesterday' => '',
    'diff_tomorrow' => '',
    'formats' => [
        'LT' => 'HH:mm',
        'LTS' => 'HH:mm:ss',
        'L' => 'YYYY-MM-DD',
        'LL' => 'YYYY MMMM DD',
        'LLL' => 'YY-MM-DD, HH:mm',
        'LLLL' => 'YYYY MMMM DD, HH:mm',
    ],
    'weekdays' => ['', '', '', '', '', '', ''],
    'weekdays_short' => ['', '', '', '', '', '', ''],
    'weekdays_min' => ['', '', '', '', '', '', ''],
    'months' => ['1 ', '2 ', '3 ', '4 ', '5 ', '6 ', '7 ', '8 ', '9 ', '10 ', '11 ', '12 '],
    'months_short' => ['1 ', '2 ', '3 ', '4 ', '5 ', '6 ', '7 ', '8 ', '9 ', '10 ', '11 ', '12 '],
    'meridiem' => ['', ''],
    'first_day_of_week' => 1,
];

Function Calls

None

Variables

None

Stats

MD5 61cf5375c23040fd3e176ad1498fa1fa
Eval Count 0
Decode Time 79 ms