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 namespace Illuminate\Tests\Integration\Generators; use Illuminate\Session\Console\..
Decoded Output download
<?php
namespace Illuminate\Tests\Integration\Generators;
use Illuminate\Session\Console\SessionTableCommand;
class SessionTableCommandTest extends TestCase
{
public function testCreateMakesMigration()
{
$this->artisan(SessionTableCommand::class)->assertExitCode(0);
$this->assertMigrationFileContains([
'use Illuminate\Database\Migrations\Migration;',
'return new class extends Migration',
'Schema::create(\'sessions\', function (Blueprint $table) {',
'Schema::dropIfExists(\'sessions\');',
], 'create_sessions_table.php');
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Illuminate\Tests\Integration\Generators;
use Illuminate\Session\Console\SessionTableCommand;
class SessionTableCommandTest extends TestCase
{
public function testCreateMakesMigration()
{
$this->artisan(SessionTableCommand::class)->assertExitCode(0);
$this->assertMigrationFileContains([
'use Illuminate\Database\Migrations\Migration;',
'return new class extends Migration',
'Schema::create(\'sessions\', function (Blueprint $table) {',
'Schema::dropIfExists(\'sessions\');',
], 'create_sessions_table.php');
}
}
Function Calls
None |
Stats
MD5 | 6b81608a1a6adfe4f634270b376c4d44 |
Eval Count | 0 |
Decode Time | 82 ms |