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 TestApp\Model\Table; use Cake\ORM\Table; class..
Decoded Output download
<?php
declare(strict_types=1);
namespace TestApp\Model\Table;
use Cake\ORM\Table;
class ContactsTable extends Table
{
/**
* Initializes the schema
*
* @param array $config
*/
public function initialize(array $config): void
{
$this->setSchema([
'id' => ['type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'],
'name' => ['type' => 'string', 'null' => '', 'default' => '', 'length' => '255'],
'email' => ['type' => 'string', 'null' => '', 'default' => '', 'length' => '255'],
'phone' => ['type' => 'string', 'null' => '', 'default' => '', 'length' => '255'],
'password' => ['type' => 'string', 'null' => '', 'default' => '', 'length' => '255'],
'published' => ['type' => 'date', 'null' => true, 'default' => null, 'length' => null],
'created' => ['type' => 'date', 'null' => '1', 'default' => '', 'length' => ''],
'updated' => ['type' => 'datetime', 'null' => '1', 'default' => '', 'length' => null],
'age' => ['type' => 'integer', 'null' => '', 'default' => '', 'length' => null],
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],
]);
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace TestApp\Model\Table;
use Cake\ORM\Table;
class ContactsTable extends Table
{
/**
* Initializes the schema
*
* @param array $config
*/
public function initialize(array $config): void
{
$this->setSchema([
'id' => ['type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'],
'name' => ['type' => 'string', 'null' => '', 'default' => '', 'length' => '255'],
'email' => ['type' => 'string', 'null' => '', 'default' => '', 'length' => '255'],
'phone' => ['type' => 'string', 'null' => '', 'default' => '', 'length' => '255'],
'password' => ['type' => 'string', 'null' => '', 'default' => '', 'length' => '255'],
'published' => ['type' => 'date', 'null' => true, 'default' => null, 'length' => null],
'created' => ['type' => 'date', 'null' => '1', 'default' => '', 'length' => ''],
'updated' => ['type' => 'datetime', 'null' => '1', 'default' => '', 'length' => null],
'age' => ['type' => 'integer', 'null' => '', 'default' => '', 'length' => null],
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],
]);
}
}
Function Calls
None |
Stats
MD5 | 8cf953f4584c6857415a90ce76866815 |
Eval Count | 0 |
Decode Time | 86 ms |