HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //home/posscale/public_html/printmanager/vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php
<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Driver\PDO;

use PDO;
use SensitiveParameter;

use const PHP_VERSION_ID;

/** @internal */
trait PDOConnect
{
    /** @param array<int, mixed> $options */
    private function doConnect(
        #[SensitiveParameter]
        string $dsn,
        string $username,
        #[SensitiveParameter]
        string $password,
        array $options
    ): PDO {
        if (PHP_VERSION_ID < 80400) {
            return new PDO($dsn, $username, $password, $options);
        }

        return PDO::connect($dsn, $username, $password, $options);
    }
}