ID: 35452 Updated by: [EMAIL PROTECTED] Reported By: kang at respice dot de -Status: Open +Status: Bogus Bug Type: PDO related Operating System: Win32 + Apache 2.0.55 PHP Version: 5.1.0 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Read release/upgrading notes. Previous Comments: ------------------------------------------------------------------------ [2005-11-28 16:44:45] kang at respice dot de Description: ------------ The PDO constants are not defined. Reproduce code: --------------- <?php print_r(get_defined_constants()); ?> or <?php $DB = new PDO($dsn, $u, $p); $DB->getAttribute(PDO_ATTR_CONNECTION_STATUS()); ?> Expected result: ---------------- PDO_* constants to be defined. or Connection status attribute. Actual result: -------------- Constants are not defined. or Error: type long expected, string provided. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35452&edit=1