The easy input wrapper for PHP.
The easy input wrapper for PHP.
Abandoned: Use the
stdin
class of Asyncore, instead.
Whenever you need asynchronous or synchronous input of lines to work on all operating systems. If you need character-by-character input, I’m afraid your script will not work on Windows, regardless of what you do.
pai has no prerequisites, you can simply composer require hell-sh/pai
or copy the src folder and require the pai.php in there.
All functions on hellsh\pai
are documented here.