|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-02-24 12:59 UTC] nlopess@php.net
[2004-03-06 15:28 UTC] nlopess@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Jan 27 13:00:01 2026 UTC |
Description: ------------ on the sqlite_query() documentation mention that: " ...For other kinds of queries, this function will return a boolean result; TRUE for success or FALSE for failure." but the above Reproduce code show that on comments the sqlite return false. so we have here sqlite or php or phpdoc bug. Reproduce code: --------------- <? $db = sqlite_open("temp.db"); if(!sqlite_query($db,"-- just a remark")){ echo "is this intended behavior?"; } else { echo "ok"; } sqlite_close($db); ?> Expected result: ---------------- is this intended behavior? Actual result: -------------- ok