svn: /phpdoc/en/trunk/reference/pdo/ constants.xml
| From: | Justin Martin | Date: | Mon, 05 Dec 2011 22:31:50 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/pdo/ constants.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9163@lists.php.net to get a copy of this message | ||
frozenfire Mon, 05 Dec 2011 22:31:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320468
Log:
Changed the description of PDO::FETCH_KEY_VALUE to match actual behaviour (requiring the result set
to have exactly two columns). Closes bug #55053.
--
Provided by anonymous #11351 ()
Bugs: https://bugs.php.net/55053 (Open) PDO::FECTH_KEY_PAIR
doesn't work as expected
https://bugs.php.net/11351 (Closed) array_shift
breaks numeric index key association in PHP4.05
Changed paths:
U phpdoc/en/trunk/reference/pdo/constants.xml
Modified: phpdoc/en/trunk/reference/pdo/constants.xml
===================================================================
--- phpdoc/en/trunk/reference/pdo/constants.xml 2011-12-05 22:27:25 UTC (rev 320467)
+++ phpdoc/en/trunk/reference/pdo/constants.xml 2011-12-05 22:31:50 UTC (rev 320468)
@@ -271,8 +271,8 @@
</term>
<listitem>
<simpara>
- Fetch into an array where the 1st column is a key and all subsequent
- columns are values. Available since PHP 5.2.3.
+ Fetch a two-column result into an array where the first column is a key and the second column
+ is the value. Available since PHP 5.2.3.
</simpara>
</listitem>
</varlistentry>