php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56693 PDO_* not defined
Submitted: 2005-12-03 18:28 UTC Modified: 2005-12-03 19:29 UTC
From: madmax at napisy dot org Assigned:
Status: Not a bug Package: PDO (PECL)
PHP Version: 5_1 CVS-2005-12-03 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
13 + 29 = ?
Subscribe to this entry?

 
 [2005-12-03 18:28 UTC] madmax at napisy dot org
Description:
------------
NO constant PDO_*_* defined.

PDO: 1.0.2
PDO_MYSQL: 1.0.1

PHP: 5.1.1 (windows bins, no cvs);



Reproduce code:
---------------
E1:
print_r(get_defined_constants());


E2:
print PDO_FETCH_NUM;

Actual result:
--------------
R1:
No PDO_*_* constants printed.


R2:
Notice: Use of undefined constant PDO_FETCH_NUM - assumed 'PDO_FETCH_NUM'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-03 19:29 UTC] wez@php.net
Read the release notes for PHP 5.1.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Feb 26 04:01:27 2020 UTC