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\DbalTypes; use Doctrine\DBAL\Pl..
Decoded Output download
<?php
declare(strict_types=1);
namespace Doctrine\Tests\DbalTypes;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\StringType;
class UpperCaseStringType extends StringType
{
public const NAME = 'upper_case_string';
public function getName(): string
{
return self::NAME;
}
/**
* {@inheritDoc}
*/
public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform): string
{
return 'UPPER(' . $sqlExpr . ')';
}
/**
* {@inheritDoc}
*/
public function convertToPHPValueSQL($sqlExpr, $platform): string
{
return 'LOWER(' . $sqlExpr . ')';
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Doctrine\Tests\DbalTypes;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\StringType;
class UpperCaseStringType extends StringType
{
public const NAME = 'upper_case_string';
public function getName(): string
{
return self::NAME;
}
/**
* {@inheritDoc}
*/
public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform): string
{
return 'UPPER(' . $sqlExpr . ')';
}
/**
* {@inheritDoc}
*/
public function convertToPHPValueSQL($sqlExpr, $platform): string
{
return 'LOWER(' . $sqlExpr . ')';
}
}
Function Calls
None |
Stats
MD5 | 7909b9fc119f78b5ee58a20af6ed0153 |
Eval Count | 0 |
Decode Time | 97 ms |