#50273 [NEW]: Wrong constant names in PDO

From: Date: Mon, 23 Nov 2009 16:38:22 +0000
Subject: #50273 [NEW]: Wrong constant names in PDO
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3317@lists.php.net to get a copy of this message
From:             xxNSVxx at gmail dot com
Operating system: Windows
PHP version:      5.3.1
PHP Bug Type:     Documentation problem
Bug description:  Wrong constant names in PDO

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 bug report at http://bugs.php.net/?id=50273&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=50273&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=50273&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=50273&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=50273&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50273&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=50273&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=50273&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=50273&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=50273&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=50273&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=50273&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=50273&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=50273&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=50273&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50273&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50273&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=50273&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=50273&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=50273&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=50273&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=50273&r=mysqlcfg



Thread (3 messages)

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