For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > February 2005 > #32083 [Opn]: stream_set_blocking : mode boolean or integer ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #32083 [Opn]: stream_set_blocking : mode boolean or integer ?
et@php.net

2005-02-23, 8:56 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com