Doc #54151 [Opn->Wfx]: return value for sqlite_busy_timeout incorrectly documented
| From: | aharvey@php.net | Date: | Thu, 10 Mar 2011 07:06:28 +0000 |
| Subject: | Doc #54151 [Opn->Wfx]: return value for sqlite_busy_timeout incorrectly documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6060@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54151&edit=1
ID: 54151
Updated by: aharvey@php.net
Reported by: jthijssen at noxlogic dot nl
Summary: return value for sqlite_busy_timeout incorrectly
documented
-Status: Open
+Status: Wont fix
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.3SVN-2011-03-03 (SVN)
Block user comment: N
Private report: N
New Comment:
Per http://au2.php.net/manual/en/functions.internal.php,
internal
functions that are given invalid parameters generally return NULL in
that case, even if the function itself is generally a void
(non-returning) function.
Previous Comments:
------------------------------------------------------------------------
[2011-03-03 19:11:02] jthijssen at noxlogic dot nl
Description:
------------
---
From manual page: http://www.php.net/function.sqlite-busy-timeout#Return
Values
---
It states that sqlite::busy_timeout() returns no value, but it will
return TRUE when passing an integer. Only when an incorrect
(non-integer) is passed, it will return NULL
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54151&edit=1