|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2009-08-21 14:16 UTC] brandon at brandonsavage dot net
  [2009-12-06 22:15 UTC] felipe@php.net
  [2009-12-14 01:00 UTC] php-bugs at lists dot php dot net
  [2010-06-13 00:04 UTC] felipe@php.net
  [2010-06-13 00:05 UTC] felipe@php.net
 
-Status:      No Feedback
+Status:      Closed
-Assigned To:
+Assigned To: felipe
  [2010-06-13 00:05 UTC] felipe@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 07:00:01 2025 UTC | 
Description: ------------ The PDO extension should either return an object or throw an exception. However, with PDO and the SQLite driver, this does not happen. Reproduce code: --------------- <?php //Use the wrong driver so the connection fails $pdo = new PDO('sqlite2:bookstore.db'); var_dump($pdo); Expected result: ---------------- PDOException Actual result: -------------- null