Fw: [PHP-DOC] #27377 [NEW]: sqlite_query returns false on remark
| From: | Nuno Lopes | Date: | Mon, 01 Mar 2004 16:14:05 +0000 |
| Subject: | Fw: [PHP-DOC] #27377 [NEW]: sqlite_query returns false on remark | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-8287@lists.php.net to get a copy of this message | ||
----- 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: íÃj‹¦°
> (µ{vȘ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