|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-05-10 08:51 UTC] scottmac@php.net
[2011-05-10 10:10 UTC] aharvey@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: aharvey
[2011-05-10 10:10 UTC] aharvey@php.net
[2011-05-10 10:14 UTC] aharvey@php.net
[2011-05-10 10:43 UTC] aharvey@php.net
-Status: Assigned
+Status: Closed
[2011-05-10 10:43 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 02:00:01 2025 UTC |
Description: ------------ As the Php Reference said: SQLite3::open Returns TRUE on success, FALSE on failure to open the database. But this IS NOT TRUE. It Returns NULL. Test script: --------------- class testSQLite3 extends SQLite3{ public function __construct(){ var_dump( $this->open('test.sqlite3') ); } } new testSQLite3(); Expected result: ---------------- //Create File 'test.sqlite3' And //output //bool(true) Actual result: -------------- //Create File 'test.sqlite3' And //output //NULL