mirror of
https://github.com/php/php-src.git
synced 2025-01-10 04:54:47 +08:00
20 lines
506 B
PHP
20 lines
506 B
PHP
--TEST--
|
|
Bug #43371 (Memory errors in PDO constructor)
|
|
--SKIPIF--
|
|
<?php
|
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc');
|
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
|
|
MySQLPDOTest::skip();
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
|
|
|
|
$dsn = MySQLPDOTest::getDSN();
|
|
$db = new PDO($dsn, PDO_MYSQL_TEST_USER, PDO_MYSQL_TEST_PASS, array(PDO::ATTR_PERSISTENT => true));
|
|
|
|
print "done!";
|
|
?>
|
|
--EXPECT--
|
|
done!
|