go to bug id or search bugs for
From manual page: http://www.php.net/pdostatement.fetchall#Parameters
The following statement is misleading/incorrect, "To return an associative array grouped by the values of a specified column, bitwise-OR PDO::FETCH_COLUMN with PDO::FETCH_GROUP."
It's apparent that FETCH_GROUP only groups on the first query column, so "a specified" should be replaced with "the first".
Add a Patch
Add a Pull Request
Or maybe add a fetch.column for FETCH_GROUP (see path)
This seems like more of a bug/feature request, since the current behavior is near
useless. After (if) it's been patched, please change this bug to a documentation
problem bug type, so the change and new behavior can be documented.