Created
July 1, 2021 10:55
-
-
Save bobbykjack/2fa265cf383fb780205cb3b679fb6462 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Handle any input piped or redirected here | |
if (!posix_isatty(STDIN)) { | |
process(stream_get_contents(STDIN)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment