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 declare (strict_types=1); namespace DoctrineMigrations; use Doctrine\DBAL\Schema\S..

Decoded Output download

<?php 
 declare (strict_types=1); namespace DoctrineMigrations; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; final class Version1 extends AbstractMigration { public function getDescription() : string { return ''; } public function up(Schema $schema) : void { $this->abortIf($this->connection->getDatabasePlatform()->getName() !== "sqlite", "Migration can only be executed safely on 'sqlite'."); } public function down(Schema $schema) : void { $this->abortIf($this->connection->getDatabasePlatform()->getName() !== "sqlite", "Migration can only be executed safely on 'sqlite'."); } } 
 ?>

Did this file decode correctly?

Original Code

<?php
 declare (strict_types=1); namespace DoctrineMigrations; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; final class Version1 extends AbstractMigration { public function getDescription() : string { return ''; } public function up(Schema $schema) : void { $this->abortIf($this->connection->getDatabasePlatform()->getName() !== "\x73\161\154\151\164\x65", "\115\x69\x67\x72\141\164\151\157\x6e\x20\143\141\x6e\40\157\x6e\154\x79\40\142\x65\40\x65\x78\x65\143\x75\164\x65\144\40\x73\141\x66\x65\x6c\171\x20\157\156\x20\47\x73\161\x6c\x69\x74\x65\x27\x2e"); } public function down(Schema $schema) : void { $this->abortIf($this->connection->getDatabasePlatform()->getName() !== "\x73\x71\x6c\x69\x74\145", "\115\x69\x67\x72\141\x74\151\x6f\x6e\40\143\141\156\40\157\x6e\x6c\171\40\142\x65\40\145\170\x65\x63\165\164\x65\144\x20\163\141\146\145\x6c\171\x20\x6f\x6e\40\47\163\x71\x6c\151\164\x65\47\56"); } }

Function Calls

None

Variables

None

Stats

MD5 aaf4d3cfa4f6534f945ff15b9e02e52d
Eval Count 0
Decode Time 40 ms