jcadima
8/27/2016 - 3:10 PM

Reading line by line from STDIN

Reading line by line from STDIN

http://stackoverflow.com/questions/11968244/reading-line-by-line-from-stdin

<?php

while($f = fgets(STDIN)){
    echo "line: $f";
}