Since PHP 4.3, this function works for any stream that supports non-blocking mode (currently, regular files and socket streams).
注意 Prior to PHP 4.3, this function only worked on socket based streams. Since PHP 4.3, this function works for any stream that supports non-blocking mode (currently, regular files and socket streams).