<?php $string = "127.0.0.1:8000 127.0.0.1:81 127.0.0.1:77 127.0.0.1:66"; print_r(explode(' ', $string));
Standard input is empty
Array ( [0] => 127.0.0.1:8000 [1] => 127.0.0.1:81 [2] => 127.0.0.1:77 [3] => 127.0.0.1:66 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!