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