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 Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Bluepr..

Decoded Output download

<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::table('profiles', function (Blueprint $table) {
           $table->index('followers_count', 'profiles_followers_count_index');
           $table->index('following_count', 'profiles_following_count_index');
           $table->index('status_count', 'profiles_status_count_index');
           $table->index('is_private', 'profiles_is_private_index');
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::table('profiles', function (Blueprint $table) {
            $table->dropIndex('profiles_followers_count_index');
            $table->dropIndex('profiles_following_count_index');
            $table->dropIndex('profiles_status_count_index');
            $table->dropIndex('profiles_is_private_index');
        });
    }
};
 ?>

Did this file decode correctly?

Original Code

<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::table('profiles', function (Blueprint $table) {
           $table->index('followers_count', 'profiles_followers_count_index');
           $table->index('following_count', 'profiles_following_count_index');
           $table->index('status_count', 'profiles_status_count_index');
           $table->index('is_private', 'profiles_is_private_index');
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::table('profiles', function (Blueprint $table) {
            $table->dropIndex('profiles_followers_count_index');
            $table->dropIndex('profiles_following_count_index');
            $table->dropIndex('profiles_status_count_index');
            $table->dropIndex('profiles_is_private_index');
        });
    }
};

Function Calls

None

Variables

None

Stats

MD5 5636a2a1ee5d129aeefeaaa5a9baebf5
Eval Count 0
Decode Time 104 ms