background image

(
    [0] => 123qwe
    [1] => test
    [2] => I like php pipe
    [3] => this is stdin php is good
)
root@206:~# 
上面每行内容自己随便输入,然后最后 ctrl+D 结束,由于需要一个 n 结束,所以,在最
后一行输入来个空行,再 ctrl+D,就输出数组了