Strings Php

$ip = "123.456.789.000";      
$iparr = split ("\.", $ip, 2); 
                               
print "$iparr[0] 
";        
print "$iparr[1] 
";        
?>