php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50273 [FR] Wrong constant names in PDO
Submitted: 2009-11-23 16:38 UTC Modified: 2009-11-30 07:05 UTC
From: xxNSVxx at gmail dot com Assigned:
Status: Not a bug Package: Translation problem
PHP Version: 5.3.1 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xxNSVxx at gmail dot com
New email:
PHP Version: OS:

 

 [2009-11-23 16:38 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-23 20:38 UTC] bjori@php.net
Reclassified as translation problem.
 [2009-11-30 07:05 UTC] yannick@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 15:01:32 2024 UTC