1--TEST-- 2PDO::ATTR_PREFETCH 3--EXTENSIONS-- 4pdo_mysql 5--SKIPIF-- 6<?php 7require_once __DIR__ . '/inc/mysql_pdo_test.inc'; 8MySQLPDOTest::skip(); 9?> 10--FILE-- 11<?php 12 require_once __DIR__ . '/inc/mysql_pdo_test.inc'; 13 $db = MySQLPDOTest::factory(); 14 var_dump($db->getAttribute(PDO::ATTR_PREFETCH)); 15 var_dump($db->setAttribute(PDO::ATTR_PREFETCH, true)); 16 print "done!"; 17?> 18--EXPECTF-- 19Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d 20bool(false) 21bool(false) 22done! 23