1--TEST--
2Failure when creating persistent connection
3--EXTENSIONS--
4pdo_mysql
5--FILE--
6<?php
7try {
8    $pdo = new PDO('mysql:host=localhost', 'invalid_user', 'invalid_password', [
9        PDO::ATTR_PERSISTENT => true,
10    ]);
11} catch (PDOException $e) {
12    echo "Caught\n";
13}
14?>
15--EXPECT--
16Caught
17