<?php $tlds = array("com=whois.crsnic.net", "net=whois.crsnic.net"); var_dump($tlds); foreach( $tlds as $tld ) { var_dump($tld); } ?>