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 contact contact@examians.com examians.com @examians.com contact contact@examians.com examians.com ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function b() {echo "b is executed";}function a(){b();echo "a is executed";b();}a(); b is executeda is executed b is executeda is executedb is executed a is executed b is executedb is executedb is executed b is executeda is executed b is executeda is executedb is executed a is executed b is executedb is executedb is executed ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? id() md5() mdid() uniqueid() id() md5() mdid() uniqueid() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;}$result = calc(42, 0);echo $result; 84 0 Error 42 84 0 Error 42 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}b();a(); I am bI am a I am a Error I am b Error I am bI am a I am a Error I am b Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sayHello() {echo "HelloWorld";}$function_holder = "sayHello";$function_holder(); HelloWorld Error sayHello No Output HelloWorld Error sayHello No Output ANSWER DOWNLOAD EXAMIANS APP