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;

class AddTimestampAndUserIdToCustomFieldsets extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //
        Schema::table('custom_fieldsets', function (Blueprint $table) {
            $table->timestamps();
            $table->integer('user_id')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('custom_fieldsets', function (Blueprint $table) {
            $table->dropTimestamps();
            $table->dropColumn('user_id');
        });
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

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

class AddTimestampAndUserIdToCustomFieldsets extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //
        Schema::table('custom_fieldsets', function (Blueprint $table) {
            $table->timestamps();
            $table->integer('user_id')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('custom_fieldsets', function (Blueprint $table) {
            $table->dropTimestamps();
            $table->dropColumn('user_id');
        });
    }
}

Function Calls

None

Variables

None

Stats

MD5 2a45d874b54b16713bb7ef7c1dd1a7ac
Eval Count 0
Decode Time 90 ms