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::create('page_revisions', function (Blueprint $table) {
$table->increments('id');
$table->integer('page_id')->indexed();
$table->string('name');
$table->longText('html');
$table->longText('text');
$table->integer('created_by');
$table->nullableTimestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::drop('page_revisions');
}
};
?>
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::create('page_revisions', function (Blueprint $table) {
$table->increments('id');
$table->integer('page_id')->indexed();
$table->string('name');
$table->longText('html');
$table->longText('text');
$table->integer('created_by');
$table->nullableTimestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::drop('page_revisions');
}
};
Function Calls
None |
Stats
MD5 | ff5d76a2281b9c9c57e4d93f019fc862 |
Eval Count | 0 |
Decode Time | 114 ms |