Your IP : 216.73.216.43


Current Path : /var/www/www.indacotrentino.com/www/vendor/laminas/laminas-db/src/Adapter/Platform/
Upload File :
Current File : /var/www/www.indacotrentino.com/www/vendor/laminas/laminas-db/src/Adapter/Platform/Sql92.php

<?php

namespace Laminas\Db\Adapter\Platform;

use function addcslashes;
use function trigger_error;

class Sql92 extends AbstractPlatform
{
    /**
     * {@inheritDoc}
     */
    public function getName()
    {
        return 'SQL92';
    }

    /**
     * {@inheritDoc}
     */
    public function quoteValue($value)
    {
        trigger_error(
            'Attempting to quote a value without specific driver level support'
            . ' can introduce security vulnerabilities in a production environment.'
        );
        return '\'' . addcslashes($value ?? '', "\x00\n\r\\'\"\x1a") . '\'';
    }
}