xref: /PHP-8.3/ext/pdo_mysql/tests/bug_43371.phpt (revision b5a14e6c)
1--TEST--
2Bug #43371 (Memory errors in PDO constructor)
3--EXTENSIONS--
4pdo_mysql
5--SKIPIF--
6<?php
7require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
8MySQLPDOTest::skip();
9?>
10--FILE--
11<?php
12require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
13
14$dsn = MySQLPDOTest::getDSN();
15$db = new PDO($dsn, PDO_MYSQL_TEST_USER, PDO_MYSQL_TEST_PASS, array(PDO::ATTR_PERSISTENT => true));
16
17print "done!";
18?>
19--EXPECT--
20done!
21