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 App\Models\Currency; use App\Utils\Traits\AppSetup; use Illuminate\Database\Mig..

Decoded Output download

<?php

use App\Models\Currency;
use App\Utils\Traits\AppSetup;
use Illuminate\Database\Migrations\Migration;

return new class extends Migration {
    use AppSetup;

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        $currency = Currency::find(9);

        if ($currency) {
            $currency->update(['symbol' => '$']);
        }

        $this->buildCache(true);
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
};
 ?>

Did this file decode correctly?

Original Code

<?php

use App\Models\Currency;
use App\Utils\Traits\AppSetup;
use Illuminate\Database\Migrations\Migration;

return new class extends Migration {
    use AppSetup;

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        $currency = Currency::find(9);

        if ($currency) {
            $currency->update(['symbol' => '$']);
        }

        $this->buildCache(true);
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
};

Function Calls

None

Variables

None

Stats

MD5 fb01166d99b4acf8d4a97bd6de6be5b8
Eval Count 0
Decode Time 92 ms