PHP Functions What will be the output of the following PHP code?function one() {echo " this works";function two() {echo "this too works";}}one();two(); error this works this too works this worksthis too works this works error this works this too works this worksthis too works this works ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;return $total; }$result = calc(42, 0);echo $result; 42 0 Error 84 42 0 Error 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. -1 NULL 0 Garbage value -1 NULL 0 Garbage value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); helloblabla helloblablablabla hello Error helloblabla helloblablablabla hello Error 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(); contact examians.com @examians.com contact@examians.com contact examians.com @examians.com contact@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 a is executed b is executeda is executedb is executed b is executedb is executedb is executed b is executeda is executed a is executed b is executeda is executedb is executed b is executedb is executedb is executed ANSWER DOWNLOAD EXAMIANS APP