Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8287 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76934 invoked by uid 1010); 1 Mar 2004 18:20:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76890 invoked from network); 1 Mar 2004 18:20:40 -0000 Received: from unknown (HELO sapo.pt) (212.55.154.22) by pb1.pair.com with SMTP; 1 Mar 2004 18:20:40 -0000 Received: (qmail 4291 invoked from network); 1 Mar 2004 16:10:20 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.153) by relay2 with SMTP; 1 Mar 2004 16:10:20 -0000 Received: (qmail 7603 invoked from network); 1 Mar 2004 16:07:06 -0000 Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[81.193.155.112]) (envelope-sender ) by mta3 (qmail-ldap-1.03) with SMTP for ; 1 Mar 2004 16:07:06 -0000 Message-ID: <015c01c3ffa8$3bf079b0$0100a8c0@pc07653> To: "PHPdev" Date: Mon, 1 Mar 2004 16:14:05 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Fw: [PHP-DOC] #27377 [NEW]: sqlite_query returns false on remark From: nlopess@php.net ("Nuno Lopes") ----- Original Message ----- > From: momo@php.net > Operating system: windows 2000 > PHP version: 4.3.5RC3 > PHP Bug Type: Documentation problem > Bug description: sqlite_query returns false on remark > > 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 > > -- > Edit bug report at http://bugs.php.net/?id=27377&edit=1 > -- > Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27377&r=trysnapshot4 > Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27377&r=trysnapshot5 > Fixed in CVS: http://bugs.php.net/fix.php?id=27377&r=fixedcvs > Fixed in release: http://bugs.php.net/fix.php?id=27377&r=alreadyfixed > Need backtrace: http://bugs.php.net/fix.php?id=27377&r=needtrace > Need Reproduce Script: http://bugs.php.net/fix.php?id=27377&r=needscript > Try newer version: http://bugs.php.net/fix.php?id=27377&r=oldversion > Not developer issue: http://bugs.php.net/fix.php?id=27377&r=support > Expected behavior: http://bugs.php.net/fix.php?id=27377&r=notwrong > Not enough info: http://bugs.php.net/fix.php?id=27377&r=notenoughinfo > Submitted twice: http://bugs.php.net/fix.php?id=27377&r=submittedtwice > register_globals: http://bugs.php.net/fix.php?id=27377&r=globals > PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27377&r=php3 > Daylight Savings: http://bugs.php.net/fix.php?id=27377&r=dst > IIS Stability: http://bugs.php.net/fix.php?id=27377&r=isapi > Install GNU Sed: http://bugs.php.net/fix.php?id=27377&r=gnused > Floating point limitations: http://bugs.php.net/fix.php?id=27377&r=float