io - php - I/O streaming
I was looking at the documentation here for I/O streaming in PHP: http://php.net/manual/en/features.commandline.io-streams.php
I have a question about how this works - if I were piping say 10,000 lines of input per second from a linux command into a php script, and the script were only able to process 1,000 within a second, what would happen? Would the PHP script just fall way behind or would it just skip data and get the latest 1000? I realize this may be considered a stupid question, but I thought I'd ask anyway.