--TEST-- Bug #79106 (PDO may fetch wrong column indexes with PDO::FETCH_BOTH) - collision --SKIPIF-- getMessage()); } if (@$db->query('SELECT 1 as "1"') === false) { die('skip driver does not support quoted numeric identifiers'); } ?> --FILE-- query('SELECT 11111 as "1", 22222 as "2"'); var_dump($stmt->fetchAll()); ?> --EXPECT-- array(1) { [0]=> array(3) { [1]=> string(5) "11111" [0]=> string(5) "11111" [2]=> string(5) "22222" } }