|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-05-08 23:08 UTC] ostico at gmail dot com
[2011-05-10 10:09 UTC] aharvey@php.net
-Status: Open
+Status: Duplicate
[2011-05-10 10:09 UTC] aharvey@php.net
[2011-05-10 10:42 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 16:00:01 2025 UTC |
Description: ------------ Documentation Says: SQLite3::open --- Return Values: Returns TRUE on success, FALSE on failure to open the database. --- Not True. It can return NULL if we are in creation context. Test script: --------------- class testSQLite3 extends SQLite3{ public function __construct(){ var_dump( $this->open('test.sqlite') ); } } new testSQLite3(); Expected result: ---------------- //Create File 'test.sqlite' And //output //bool(true) Actual result: -------------- //Create File 'test.sqlite' And //output //NULL