#50273 [Opn->Ver]: [FR] Wrong constant names in PDO

From: Date: Mon, 23 Nov 2009 20:38:42 +0000
Subject: #50273 [Opn->Ver]: [FR] Wrong constant names in PDO
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3319@lists.php.net to get a copy of this message
 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)

« previous php.doc.bugs (#3319) next »