Question: Given the string: $var = "john@php.net"; Which of the following will extract the TLD (top level domain) of ".net" from the string?
A
B
C
D
E
strstr($var, strpos($var, "."));
B
substr($var, strpos($var, "@"));
C
substr($var, strstr($var, "."));
D
substr($var, strpos($var, ".") + 1);
E
substr($var, strpos($var, "."));
Note: Not available