Voting

: min(one, four)?
(Example: nine)

The Note You're Voting On

Richard Neill
20 years ago
It is probably a bad idea to watch an array of sockets for input with socket_select, and then socket_read() using PHP_NORMAL_READ.

Although this seems desirable, you can end up with a permanently blocked program, if someone sends you malformed input which is missing a trailing \n \r. Guess how I found that out.

<< Back to user notes page

To Top