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 Doctrine\Tests\Models\Company; use Doctrine\OR..
Decoded Output download
<?php
declare(strict_types=1);
namespace Doctrine\Tests\Models\Company;
use Doctrine\ORM\Mapping\Column;
use Doctrine\ORM\Mapping\Entity;
use Doctrine\ORM\Mapping\GeneratedValue;
use Doctrine\ORM\Mapping\Id;
use Doctrine\ORM\Mapping\Table;
#[Table(name: 'company_cars')]
#[Entity]
class CompanyCar
{
#[Id]
#[Column(type: 'integer')]
#[GeneratedValue(strategy: 'AUTO')]
private int $id;
public function __construct(
#[Column(type: 'string', length: 50)]
private string|null $brand = null,
) {
}
public function getId(): int
{
return $this->id;
}
public function getBrand(): string|null
{
return $this->brand;
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Doctrine\Tests\Models\Company;
use Doctrine\ORM\Mapping\Column;
use Doctrine\ORM\Mapping\Entity;
use Doctrine\ORM\Mapping\GeneratedValue;
use Doctrine\ORM\Mapping\Id;
use Doctrine\ORM\Mapping\Table;
#[Table(name: 'company_cars')]
#[Entity]
class CompanyCar
{
#[Id]
#[Column(type: 'integer')]
#[GeneratedValue(strategy: 'AUTO')]
private int $id;
public function __construct(
#[Column(type: 'string', length: 50)]
private string|null $brand = null,
) {
}
public function getId(): int
{
return $this->id;
}
public function getBrand(): string|null
{
return $this->brand;
}
}
Function Calls
None |
Stats
MD5 | ad7d8c86fe2b755f0f076da24bd641e5 |
Eval Count | 0 |
Decode Time | 105 ms |