Get the subdomains for a host.
public subdomains ( integer $tldLength = 1 ) : array | ||
$tldLength | integer | Number of segments your tld contains. For example: `example.com` contains 1 tld. While `example.co.uk` contains 2. |
return | array | An array of subdomains. |