#50273 [Opn->Ver]: [FR] Wrong constant names in PDO
ID: 50273
Updated by: bjori@php.net
-Summary: Wrong constant names in PDO
Reported By: xxNSVxx at gmail dot com
-Status: Open
+Status: Verified
-Bug Type: Documentation problem
+Bug Type: Translation problem
Operating System: Windows
PHP Version: 5.3.1
New Comment:
Reclassified as translation problem.
Previous Comments:
------------------------------------------------------------------------
[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
Thread (3 messages)