#50273 [Ver->Bgs]: [FR] Wrong constant names in PDO
| From: | yannick@php.net | Date: | Mon, 30 Nov 2009 07:05:10 +0000 |
| Subject: | #50273 [Ver->Bgs]: [FR] Wrong constant names in PDO | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3354@lists.php.net to get a copy of this message | ||
ID: 50273
Updated by: yannick@php.net
Reported By: xxNSVxx at gmail dot com
-Status: Verified
+Status: Bogus
Bug Type: Translation problem
Operating System: Windows
PHP Version: 5.3.1
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Duplicate of bug #48510
Already fixed in Svn.
Previous Comments:
------------------------------------------------------------------------
[2009-11-23 20:38:41] bjori@php.net
Reclassified as translation problem.
------------------------------------------------------------------------
[2009-11-23 16:38:21] xxNSVxx at gmail dot com
Description:
------------
The constants PDO_FETCH_BOTH and PDO_FETCH_OBJ are wrong typed in the
documents.
Right spelling :
PDO::FETCH_BOTH
PDO::FETCH_OBJ
Reproduce code:
---------------
---
From manual page: pdostatement.fetch#Liste de paramètres
---
Expected result:
----------------
PDO::FETCH_BOTH
PDO::FETCH_OBJ
Actual result:
--------------
PDO_FETCH_BOTH
PDO_FETCH_OBJ
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50273&edit=1