|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-04-02 09:18 UTC] jani@php.net
[2008-04-02 09:22 UTC] jani@php.net
[2008-04-02 09:27 UTC] jani@php.net
[2008-04-02 09:39 UTC] jc_mammana at hotmail dot com
[2010-01-13 03:04 UTC] svn@php.net
[2010-01-13 03:04 UTC] kalle@php.net
[2020-02-07 06:09 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Jun 17 07:00:02 2026 UTC |
Description: ------------ This code gave me an error : # $stdout = fopen("php://output", "wb" ); # (...) # $sw = array($stdout); # $sr = $se = NULL; # $r = stream_select($sr, $sw, $se, 3); # fwrite($stdout, "hello php world!" ); # flush(); So there is no way to detect if the client is able to receive data (in case of non gracefully disconnection). Expected result: ---------------- stream_select should return 0 (for timeout reason) if the client is disconnected. Actual result: -------------- PHP ERROR : cannot represent a stream of type Output as a select()able descriptor