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 namespace App\Models; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate..

Decoded Output download

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class Pay extends BaseModel
{

    use SoftDeletes;

    protected $table = 'pays';

    /**
     * 
     */
    const METHOD_JUMP = 1;

    /**
     * 
     */
    const METHOD_SCAN = 2;

    /**
     * 
     */
    const PAY_CLIENT_PC = 1;

    /**
     * 
     */
    const PAY_CLIENT_MOBILE = 2;

    /**
     * 
     */
    const PAY_CLIENT_ALL = 3;

    public static function getMethodMap()
    {
        return [
            self::METHOD_JUMP => admin_trans('pay.fields.method_jump'),
            self::METHOD_SCAN => admin_trans('pay.fields.method_scan'),
        ];
    }

    public static function getClientMap()
    {
        return [
            self::PAY_CLIENT_PC => admin_trans('pay.fields.pay_client_pc'),
            self::PAY_CLIENT_MOBILE => admin_trans('pay.fields.pay_client_mobile'),
            self::PAY_CLIENT_ALL => admin_trans('pay.fields.pay_client_all'),
        ];
    }

}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class Pay extends BaseModel
{

    use SoftDeletes;

    protected $table = 'pays';

    /**
     * 
     */
    const METHOD_JUMP = 1;

    /**
     * 
     */
    const METHOD_SCAN = 2;

    /**
     * 
     */
    const PAY_CLIENT_PC = 1;

    /**
     * 
     */
    const PAY_CLIENT_MOBILE = 2;

    /**
     * 
     */
    const PAY_CLIENT_ALL = 3;

    public static function getMethodMap()
    {
        return [
            self::METHOD_JUMP => admin_trans('pay.fields.method_jump'),
            self::METHOD_SCAN => admin_trans('pay.fields.method_scan'),
        ];
    }

    public static function getClientMap()
    {
        return [
            self::PAY_CLIENT_PC => admin_trans('pay.fields.pay_client_pc'),
            self::PAY_CLIENT_MOBILE => admin_trans('pay.fields.pay_client_mobile'),
            self::PAY_CLIENT_ALL => admin_trans('pay.fields.pay_client_all'),
        ];
    }

}

Function Calls

None

Variables

None

Stats

MD5 d41c14c0b2b68fedf2cf4f435bf9be1e
Eval Count 0
Decode Time 86 ms