|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-12 20:26 UTC] Lars dot Westermann at privat dot dk
[2007-10-30 22:50 UTC] lwe@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 24 01:00:02 2025 UTC |
Description: ------------ The firebird PDO driver returns nothing, or null if it fails to connect - this is contradictory to what the PDO documentation says (should throw PDOException) and the behaviour of the other drivers. Reproduce code: --------------- $conn = new PDO("firebird:dbname=localhost:test.fdb", 'SYSDBA','wrong password'); Expected result: ---------------- It should throw a PDOException, ideally with an explanation or error code. Actual result: -------------- Returns NULL with no errors or warnings even with error_reporting(E_ALL)