if less than count bytes are available to be read this call will block or wait until the required number are available depending on the blocking status of the stream by default a stream is opened in blocking mode when reading from regular files the blocking mode will not usually make any difference when the stream reaches the eof php _ stream _ read will return a value less than count and 0 on subsequent reads 