ID: 35694 Updated by: [EMAIL PROTECTED] Reported By: mrethers at ebcubes dot com -Status: Feedback +Status: Closed Bug Type: PDO related Operating System: Linux/Windows PHP Version: 5.1.1 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-12-15 23:29:52] [EMAIL PROTECTED] Snapshots are snapshots. You can use whatever you like in production if you know what you're doing. IIRC I've fixed something similar after 5.1.1 release, please try the snapshot just to confirm it's fixed. ------------------------------------------------------------------------ [2005-12-15 23:18:07] mrethers at ebcubes dot com No problem, it doesn't really bother, it's just a cosmetic change ... Are the snapshot stable for a production environment ? ------------------------------------------------------------------------ [2005-12-15 23:06:02] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ------------------------------------------------------------------------ [2005-12-15 23:03:27] mrethers at ebcubes dot com Description: ------------ The error message asks to report the bug so here it is ... Reproduce code: --------------- $stmt->setFetchMode(WHATEVER_NOT_PDO_CONSTANT) Expected result: ---------------- I would expect a more helpfull message than Numeric value out of range, maybe cast an exception or something, with a unvalid fetch mode message Actual result: -------------- SQLSTATE[22003]: Numeric value out of range: unhandled mode; this is a PDO bug, please report it ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35694&edit=1