Created
July 1, 2021 10:57
-
-
Save bobbykjack/a3dd315595ac6ed67f1de8e252675e7f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
$line_number = 1; | |
while (($line = fgets(STDIN)) !== false) { | |
$result = check_line_length(trim($line), $line_number++, $opts); | |
echo cli_report("(standard input)", array($result), $opts); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment