What are the potential security implications of using the PDO driver option ATTR_PERSISTENT in PHP?

Using the PDO driver option ATTR_PERSISTENT in PHP can potentially lead to security implications such as increased risk of connection pooling attacks and resource exhaustion. To mitigate these risks, it is recommended to disable the ATTR_PERSISTENT option and manage database connections manually to ensure proper handling and security.

$pdo = new PDO('mysql:host=localhost;dbname=testdb', $user, $pass, array(
    PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
    PDO::ATTR_PERSISTENT => false
));