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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Wed May 08 03:01:29 2024 UTC