Doc #54892 [Opn]: Confusing optional parameter in fbsql_autocommit()
| From: | philip@php.net | Date: | Thu, 30 Jun 2011 05:04:46 +0000 |
| Subject: | Doc #54892 [Opn]: Confusing optional parameter in fbsql_autocommit() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6765@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54892&edit=1
ID: 54892
Updated by: philip@php.net
Reported by: gwarnants at gmail dot com
Summary: Confusing optional parameter in fbsql_autocommit()
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The online documentation editor link relevant to this bug report:
https://edit.php.net/?project=PHP&perm=en/function.fbsql-autocommit.php
Previous Comments:
------------------------------------------------------------------------
[2011-05-20 14:22:21] gwarnants at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.fbsql-autocommit#Description
---
In the function prototype, the first parameter is truly not optional. But in the parameter
description, we can read it can be not specified. So either it should be surrounded with brackets in
the prototype or there is something wrong in the description.
"If optional and not specified, the function will try to find an open link to the FrontBase
server"
Regards,
Geoffray
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54892&edit=1