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; class AddInfoToLocations extends Mig..

Decoded Output download

<?php

use Illuminate\Database\Migrations\Migration;

class AddInfoToLocations extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('locations', function ($table) {
            $table->string('address', 80)->nullable();
            $table->string('address2', 80)->nullable();
            $table->string('zip', 10)->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('locations', function ($table) {
            $table->dropColumn('address');
            $table->dropColumn('address2');
            $table->dropColumn('zip');
        });
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

use Illuminate\Database\Migrations\Migration;

class AddInfoToLocations extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('locations', function ($table) {
            $table->string('address', 80)->nullable();
            $table->string('address2', 80)->nullable();
            $table->string('zip', 10)->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('locations', function ($table) {
            $table->dropColumn('address');
            $table->dropColumn('address2');
            $table->dropColumn('zip');
        });
    }
}

Function Calls

None

Variables

None

Stats

MD5 6eec15dd6568c2bae94f01edb1304b05
Eval Count 0
Decode Time 117 ms