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
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: madmax at napisy dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 17:01:28 2025 UTC