#32083 [Opn]: stream_set_blocking : mode boolean or integer ?
| From: | et@php.net | Date: | Wed, 23 Feb 2005 19:40:48 +0000 |
| Subject: | #32083 [Opn]: stream_set_blocking : mode boolean or integer ? | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969366737@lists.php.net to get a copy of this message | ||
ID: 32083
Updated by: et@php.net
Reported By: jsgoupil at lookstrike dot com
Status: Open
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
From the source, it's definitely an integer. But a boolean would make
more sense to me. Or the docs need to change to "if mode is 0, [...],
and if otherwise, [...]"
Previous Comments:
------------------------------------------------------------------------
[2005-02-23 20:14:29] jsgoupil at lookstrike dot com
Description:
------------
In the doc : en/function.stream-set-blocking.php
It says that the mode is an integer but you give only TRUE or FALSE for
the mode.
So, perhaps it is a bool argument or more explanations about the mode
should be written.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32083&edit=1