PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "f" returns "c" returns "cd" returns "d" returns "f" returns "c" returns "cd" returns "d" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); $msg Will this work 0 Error $msg Will this work 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? id() uniqueid() md5() mdid() id() uniqueid() md5() mdid() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} Welcome to Narnia greeting GREETING ERROR Welcome to Narnia greeting GREETING ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to find files? get_file() fold() glob() file() get_file() fold() glob() file() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING Hello you! How are you today? GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING Hello you! How are you today? ANSWER DOWNLOAD EXAMIANS APP