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\Mocks; use Doctrine\DBAL\Parame..
Decoded Output download
<?php
declare(strict_types=1);
namespace Doctrine\Tests\Mocks;
use Doctrine\DBAL\ParameterType;
use function enum_exists;
if (! enum_exists(ParameterType::class)) {
trait CompatibilityType
{
public function getBindingType(): int
{
return $this->doGetBindingType();
}
private function doGetBindingType(): int|ParameterType
{
return parent::getBindingType();
}
}
} else {
trait CompatibilityType
{
public function getBindingType(): ParameterType
{
return $this->doGetBindingType();
}
private function doGetBindingType(): int|ParameterType
{
return parent::getBindingType();
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Doctrine\Tests\Mocks;
use Doctrine\DBAL\ParameterType;
use function enum_exists;
if (! enum_exists(ParameterType::class)) {
trait CompatibilityType
{
public function getBindingType(): int
{
return $this->doGetBindingType();
}
private function doGetBindingType(): int|ParameterType
{
return parent::getBindingType();
}
}
} else {
trait CompatibilityType
{
public function getBindingType(): ParameterType
{
return $this->doGetBindingType();
}
private function doGetBindingType(): int|ParameterType
{
return parent::getBindingType();
}
}
}
Function Calls
None |
Stats
MD5 | f4c28a4414645e0ec517257e6e8bb6d8 |
Eval Count | 0 |
Decode Time | 108 ms |