We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb1d29 commit ce26896Copy full SHA for ce26896
tests/fvt.inc
@@ -41,7 +41,7 @@ abstract class FVTTest
41
$options = array(PDO::ATTR_AUTOCOMMIT=>$autoCommit);
42
// Use the driver subclass on PHP 8.4+
43
$this->db = version_compare(PHP_VERSION, '8.4.0') >= 0
44
- ? PDO::construct($this->dsn, $this->user, $this->pass, $options)
+ ? PDO::connect($this->dsn, $this->user, $this->pass, $options)
45
: new PDO($this->dsn, $this->user, $this->pass, $options);
46
$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
47
$this->db->setAttribute(PDO::ATTR_CASE, PDO::CASE_UPPER);
0 commit comments