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 /** * The file was created by Assimon. * * @author assimon<[email protected]> * ..

Decoded Output download

<?php
/**
 * The file was created by Assimon.
 *
 * @author    assimon<[email protected]>
 * @copyright assimon<[email protected]>
 * @link      http://utf8.hk/
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class BaseModel extends Model
{

    const STATUS_OPEN = 1; // 
    const STATUS_CLOSE = 0; // 

    const AUTOMATIC_DELIVERY = 1; // 
    const MANUAL_PROCESSING = 2; // 

    /**
     * map
     *
     * @return array
     *
     * @author    assimon<[email protected]>
     * @copyright assimon<[email protected]>
     * @link      http://utf8.hk/
     */
    public static function getIsOpenMap()
    {
        return [
            self::STATUS_OPEN => admin_trans('dujiaoka.status_open'),
            self::STATUS_CLOSE => admin_trans('dujiaoka.status_close')
        ];
    }

}
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * The file was created by Assimon.
 *
 * @author    assimon<[email protected]>
 * @copyright assimon<[email protected]>
 * @link      http://utf8.hk/
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class BaseModel extends Model
{

    const STATUS_OPEN = 1; // 
    const STATUS_CLOSE = 0; // 

    const AUTOMATIC_DELIVERY = 1; // 
    const MANUAL_PROCESSING = 2; // 

    /**
     * map
     *
     * @return array
     *
     * @author    assimon<[email protected]>
     * @copyright assimon<[email protected]>
     * @link      http://utf8.hk/
     */
    public static function getIsOpenMap()
    {
        return [
            self::STATUS_OPEN => admin_trans('dujiaoka.status_open'),
            self::STATUS_CLOSE => admin_trans('dujiaoka.status_close')
        ];
    }

}

Function Calls

None

Variables

None

Stats

MD5 bda120d0d8900b3c25c86989d225007e
Eval Count 0
Decode Time 107 ms