PHP Regular Expressions What will be the output of the following PHP code?$url = "contact@examians.com";echo ltrim(strstr($url, "@"),"@"); contact contact@ examians.com contact@examians.com contact contact@ examians.com contact@examians.com ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following preg PHP functions is used to take a string, and put it in an array? preg_unchain() preg_divide() preg_destroy() preg_split() preg_unchain() preg_divide() preg_destroy() preg_split() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions finds the last occurrence of a string, returning its numerical position? strlast() strlastpos() strrpos() strpos() strlast() strlastpos() strrpos() strpos() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions will convert a string to all uppercase? struppercase() str_uppercase() strtoupper() uppercase() struppercase() str_uppercase() strtoupper() uppercase() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following is not a preg PHP function? preg_match preg_match_all preg_matchall preg_split preg_match preg_match_all preg_matchall preg_split ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$number = array(0,1,two,three,four,5);$num = preg_grep("/[0-5]/", $number);print_r($num); Array([0]=>0 [1]=>1 [5]=>5) Array([1]=> 1) Array([0]=>0 [1]=>1 [2]=>two [3]=>three [4]=>four [5]=>5) Array([2]=>two [3]=>three [4]=>four) Array([0]=>0 [1]=>1 [5]=>5) Array([1]=> 1) Array([0]=>0 [1]=>1 [2]=>two [3]=>three [4]=>four [5]=>5) Array([2]=>two [3]=>three [4]=>four) ANSWER DOWNLOAD EXAMIANS APP