1--TEST-- 2Bug #71569 (#70389 fix causes segmentation fault) 3--SKIPIF-- 4<?php 5require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc'); 6require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); 7MySQLPDOTest::skip(); 8?> 9--FILE-- 10<?php 11require(dirname(__FILE__). DIRECTORY_SEPARATOR . 'config.inc'); 12 13try { 14 new PDO(PDO_MYSQL_TEST_DSN, PDO_MYSQL_TEST_USER, PDO_MYSQL_TEST_PASS, [ 15 PDO::MYSQL_ATTR_INIT_COMMAND => null, 16 ]); 17} catch (PDOException $e) { 18 echo $e->getMessage(); 19} 20 21?> 22--EXPECT-- 23SQLSTATE[42000] [1065] Query was empty 24