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); return [ [ 'table' => 'schema_generator_commen..
Decoded Output download
<?php
declare(strict_types=1);
return [
[
'table' => 'schema_generator_comment',
'columns' => [
'id' => ['type' => 'integer'],
'title' => ['type' => 'string', 'null' => true],
],
'constraints' => [
'primary' => ['type' => 'primary', 'columns' => ['id']],
],
],
[
'table' => 'schema_generator',
'columns' => [
'id' => ['type' => 'integer'],
'relation_id' => ['type' => 'integer'],
'title' => ['type' => 'string', 'null' => true],
'body' => 'text',
],
'constraints' => [
'primary' => ['type' => 'primary', 'columns' => ['id']],
'relation_fk' => [
'type' => 'foreign',
'columns' => ['relation_id'],
'references' => ['schema_generator_comment', 'id'],
],
],
'indexes' => [
'title_idx' => [
'type' => 'index',
'columns' => ['title'],
],
],
],
];
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
return [
[
'table' => 'schema_generator_comment',
'columns' => [
'id' => ['type' => 'integer'],
'title' => ['type' => 'string', 'null' => true],
],
'constraints' => [
'primary' => ['type' => 'primary', 'columns' => ['id']],
],
],
[
'table' => 'schema_generator',
'columns' => [
'id' => ['type' => 'integer'],
'relation_id' => ['type' => 'integer'],
'title' => ['type' => 'string', 'null' => true],
'body' => 'text',
],
'constraints' => [
'primary' => ['type' => 'primary', 'columns' => ['id']],
'relation_fk' => [
'type' => 'foreign',
'columns' => ['relation_id'],
'references' => ['schema_generator_comment', 'id'],
],
],
'indexes' => [
'title_idx' => [
'type' => 'index',
'columns' => ['title'],
],
],
],
];
Function Calls
None |
Stats
MD5 | 76d9b5e814af03b3baabe15d7a2fa91a |
Eval Count | 0 |
Decode Time | 107 ms |