PHP Regular Expressions What will be the output of the following PHP code?$url = "contact@examians.com";echo ltrim(strstr($url, "@"),"@"); examians.com contact@ contact contact@examians.com examians.com contact@ contact contact@examians.com ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$line = "You like dogs. I hate dogs. We should marry."$sen = preg_split('/./', $line);print_r($sen); Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.) You like dogs. I hate dogs. We should marry. Error Array([0]=>You like dogs. I hate dogs. We should marry.) Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.) You like dogs. I hate dogs. We should marry. Error Array([0]=>You like dogs. I hate dogs. We should marry.) ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions finds the last occurrence of a string, returning its numerical position? strpos() strrpos() strlastpos() strlast() strpos() strrpos() strlastpos() strlast() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$username = "jasoN";if (ereg("([^a-z])",$username))echo "Username must be all lowercase!";elseecho "Username is all lowercase!"; Error Username must be all lowercase! Username is all lowercase! No Output is returned Error Username must be all lowercase! Username is all lowercase! No Output is returned ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following preg PHP function is used to do a find and replace on a string or an array? preg_replace() preg_findre() preg_find() preg_find_replace() preg_replace() preg_findre() preg_find() preg_find_replace() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions is used to search a string? preg_match preg_search preg_find preg_found preg_match preg_search preg_find preg_found ANSWER DOWNLOAD EXAMIANS APP