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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
13 - 2 = ?
Subscribe to this entry?

 
 [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 May 23 23:01:32 2024 UTC