php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54151 return value for sqlite_busy_timeout incorrectly documented
Submitted: 2011-03-03 19:11 UTC Modified: 2011-03-10 08:06 UTC
From: jthijssen at noxlogic dot nl Assigned:
Status: Wont fix Package: Documentation problem
PHP Version: 5.3SVN-2011-03-03 (SVN) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jthijssen at noxlogic dot nl
New email:
PHP Version: OS:

 

 [2011-03-03 19:11 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-10 08:06 UTC] aharvey@php.net
-Status: Open +Status: Wont fix
 [2011-03-10 08:06 UTC] aharvey@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 10:01:28 2024 UTC