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;
class IncreaseStringColumnsLength extends Migration
{
public function up(): void
{
Schema::table('artists', static function (Blueprint $table): void {
$table->dropUnique('artists_name_unique');
});
Schema::table('artists', static function (Blueprint $table): void {
$table->string('name', pow(2, 16) - 32)->change();
});
Schema::table('albums', static function (Blueprint $table): void {
$table->string('name', pow(2, 16) - 32)->change();
});
Schema::table('playlists', static function (Blueprint $table): void {
$table->string('name', pow(2, 16) - 32)->change();
});
Schema::table('songs', static function (Blueprint $table): void {
$table->string('title', pow(2, 16) - 32)->change();
});
}
}
?>
Did this file decode correctly?
Original Code
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class IncreaseStringColumnsLength extends Migration
{
public function up(): void
{
Schema::table('artists', static function (Blueprint $table): void {
$table->dropUnique('artists_name_unique');
});
Schema::table('artists', static function (Blueprint $table): void {
$table->string('name', pow(2, 16) - 32)->change();
});
Schema::table('albums', static function (Blueprint $table): void {
$table->string('name', pow(2, 16) - 32)->change();
});
Schema::table('playlists', static function (Blueprint $table): void {
$table->string('name', pow(2, 16) - 32)->change();
});
Schema::table('songs', static function (Blueprint $table): void {
$table->string('title', pow(2, 16) - 32)->change();
});
}
}
Function Calls
None |
Stats
MD5 | 3b824ae521f22c83cc19de615a4cfa3e |
Eval Count | 0 |
Decode Time | 124 ms |