1--TEST-- 2PDO::ATTR_PREFETCH 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$db = MySQLPDOTest::factory(); 9?> 10--FILE-- 11<?php 12 require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . '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--EXPECTF-- 18Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d 19bool(false) 20bool(false) 21done!