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 use Pagekit\Application as App; if (!function_exists('__')) { /** * Tran..

Decoded Output download

<?php

use Pagekit\Application as App;

if (!function_exists('__')) {

    /**
     * Translates the given message, alias for method trans()
     */
    function __($id, array $parameters = [], $domain = 'messages', $locale = null) {
        return App::translator()->trans($id, $parameters, $domain, $locale);
    }
}

if (!function_exists('_c')) {

    /**
     * Translates the given choice message by choosing a translation according to a number, alias for method transChoice()
     */
    function _c($id, $number, array $parameters = [], $domain = null, $locale = null) {
        return App::translator()->transChoice($id, $number, $parameters, $domain, $locale);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

use Pagekit\Application as App;

if (!function_exists('__')) {

    /**
     * Translates the given message, alias for method trans()
     */
    function __($id, array $parameters = [], $domain = 'messages', $locale = null) {
        return App::translator()->trans($id, $parameters, $domain, $locale);
    }
}

if (!function_exists('_c')) {

    /**
     * Translates the given choice message by choosing a translation according to a number, alias for method transChoice()
     */
    function _c($id, $number, array $parameters = [], $domain = null, $locale = null) {
        return App::translator()->transChoice($id, $number, $parameters, $domain, $locale);
    }
}

Function Calls

None

Variables

None

Stats

MD5 7b3d5ecbe2ab79294bc78f29fc8eeaf9
Eval Count 0
Decode Time 86 ms