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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Sun Dec 22 11:01:30 2024 UTC