PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "f" returns "cd" returns "d" returns "c" returns "f" returns "cd" returns "d" returns "c" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function time($string){echo strtr("Towe Pa55", "ow5", $string);}time("ims"); Towe Pass Time Pass Towe Pa55 Time Pa55 Towe Pass Time Pass Towe Pa55 Time Pa55 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() None of the mentioned 3 and 4 Only 2 All of the mentioned None of the mentioned 3 and 4 Only 2 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); @examians.com examians.com contact contact@examians.com @examians.com examians.com contact contact@examians.com ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. 0 NULL Garbage value -1 0 NULL Garbage value -1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function movie($int){$movies = array("Fight Club", "Kill Bill", "Pulp Fiction");echo "You Do Not Talk About ". $movie[$integer];}movie(0); You Do Not Talk About Pulp Fiction You Do Not Talk About Fight Club None of the mentioned I You Do Not Talk About Pulp Fiction You Do Not Talk About Fight Club None of the mentioned I ANSWER DOWNLOAD EXAMIANS APP