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 Shimmer_liveshop_plugin_merch\Models; use App\Models\BaseUniacidModel; u..

Decoded Output download

<?php 
 namespace Shimmer_liveshop_plugin_merch\Models; use App\Models\BaseUniacidModel; use App\Models\ShimmerLiveshopStoreOrder; use App\Models\ShimmerLiveshopUser; use Illuminate\Database\Eloquent\SoftDeletes; use Shimmer_liveshop_plugin_merch\Services\StoreService; class ShimmerLiveshopMerchStore extends BaseUniacidModel { protected $guarded = array(); public $dateFormat = "U"; public $casts = array("region" => "json", "banners" => "json"); use SoftDeletes; public function user() { return $this->belongsTo(ShimmerLiveshopUser::class, "uid", "id"); } public function integrityOrder() { return $this->belongsTo(ShimmerLiveshopStoreOrder::class, "integrity_order_id", "id"); } public function scopeUid($query, $uid) { return $query->where("uid", $uid); } public static function getByUid($uid) { goto nUZXv; JtElU: return self::uid($uid)->first(); goto HmfYi; jSfgK: Z6IRT: goto JtElU; fxcRw: return false; goto jSfgK; nUZXv: if ($uid) { goto Z6IRT; } goto fxcRw; HmfYi: } public function formatData() { goto OGOEb; OGOEb: $this->logo = wgTomedia($this->logo); goto jVyrH; Ygcnk: pNip2: goto IBveg; XeiAt: if (!$banners) { goto r1VLk; } goto prXeb; lhYSv: $banners = $this->banners; goto XeiAt; prXeb: foreach ($banners as $k => $banner) { $banners[$k] = wgTomedia($banner); ultfO: } goto Ygcnk; jVyrH: $this->integrity_text = StoreService::getIntegrityText(); goto lhYSv; RDW42: return $this; goto KFUUN; IBveg: r1VLk: goto aPe6x; aPe6x: $this->banners = $banners; goto RDW42; KFUUN: } } ?>

Did this file decode correctly?

Original Code

<?php
 namespace Shimmer_liveshop_plugin_merch\Models; use App\Models\BaseUniacidModel; use App\Models\ShimmerLiveshopStoreOrder; use App\Models\ShimmerLiveshopUser; use Illuminate\Database\Eloquent\SoftDeletes; use Shimmer_liveshop_plugin_merch\Services\StoreService; class ShimmerLiveshopMerchStore extends BaseUniacidModel { protected $guarded = array(); public $dateFormat = "\x55"; public $casts = array("\x72\x65\147\151\x6f\x6e" => "\x6a\163\x6f\156", "\142\141\x6e\x6e\145\162\163" => "\152\163\157\156"); use SoftDeletes; public function user() { return $this->belongsTo(ShimmerLiveshopUser::class, "\x75\151\144", "\151\144"); } public function integrityOrder() { return $this->belongsTo(ShimmerLiveshopStoreOrder::class, "\x69\156\x74\x65\x67\x72\151\164\x79\x5f\157\x72\x64\x65\x72\x5f\x69\144", "\x69\144"); } public function scopeUid($query, $uid) { return $query->where("\x75\x69\144", $uid); } public static function getByUid($uid) { goto nUZXv; JtElU: return self::uid($uid)->first(); goto HmfYi; jSfgK: Z6IRT: goto JtElU; fxcRw: return false; goto jSfgK; nUZXv: if ($uid) { goto Z6IRT; } goto fxcRw; HmfYi: } public function formatData() { goto OGOEb; OGOEb: $this->logo = wgTomedia($this->logo); goto jVyrH; Ygcnk: pNip2: goto IBveg; XeiAt: if (!$banners) { goto r1VLk; } goto prXeb; lhYSv: $banners = $this->banners; goto XeiAt; prXeb: foreach ($banners as $k => $banner) { $banners[$k] = wgTomedia($banner); ultfO: } goto Ygcnk; jVyrH: $this->integrity_text = StoreService::getIntegrityText(); goto lhYSv; RDW42: return $this; goto KFUUN; IBveg: r1VLk: goto aPe6x; aPe6x: $this->banners = $banners; goto RDW42; KFUUN: } }

Function Calls

None

Variables

None

Stats

MD5 d94f8757a015674cdcb9736f3e6b39c2
Eval Count 0
Decode Time 78 ms