| nlopess@php.net 2005-02-23, 8:56 pm |
| ID: 32083
Updated by: nlopess@php.net
Reported By: jsgoupil at lookstrike dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
The proto is right (int). You can use true/false because they are
converted to 1/0. I've changed the values.
Previous Comments:
------------------------------------------------------------------------
[2005-02-23 20:40:47] et@php.net
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, [...]"
------------------------------------------------------------------------
[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
|