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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Mar 12 10:01:31 2025 UTC