fork download
  1. <?php
  2.  
  3. $_fp = fopen("php://stdin", "r");
  4. /* Enter your code here. Read input from STDIN. Print output to STDOUT */
Success #stdin #stdout 0.03s 52480KB
stdin
3
sam 99912222
tom 11122222
harry 12299933
sam
edward
harry
stdout
Standard output is empty