fork(3) download
  1. <?php
  2.  
  3. $arr1=file('php://stdin',FILE_IGNORE_NEW_LINES);
  4. print_r($arr1);
  5. $arr2=array(1,2,3,4.4,5,6,7,8,9);
  6.  
Success #stdin #stdout 0.01s 20568KB
stdin
1
2
3
4
5
6
stdout
Array
(
    [0] => 1
    [1] => 2
    [2] => 3
    [3] => 4
    [4] => 5
    [5] => 6
)
Array
(
    [0] => 1
    [1] => 2
    [2] => 3
    [4] => 5
    [5] => 6
)