|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-10-06 14:17 UTC] tony2001@php.net
[2005-10-06 14:58 UTC] spheroid@php.net
[2005-10-06 15:13 UTC] sniper@php.net
[2005-10-06 16:00 UTC] spheroid@php.net
[2005-10-06 16:02 UTC] spheroid@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 09:00:02 2025 UTC |
Description: ------------ The summary says it all. I upgraded to RC2-dev and noticed that if something goes wrong and PDO::ERRMODE_EXCEPTION is set I get a Fatal error. Reproduce code: --------------- <?php $pdo = New PDO(...); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $pdo->query("SELECT FROM"); ?> Expected result: ---------------- Exception thrown as usual. Actual result: -------------- PHP Fatal error: Exceptions must be valid objects derived from the Exception base class in ...