PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Type Hinting Call By Reference Call By Value Default Argument Value Type Hinting Call By Reference Call By Value Default Argument Value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Arrays None of above Both A & B Objects Arrays None of above Both A & B Objects ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string) {echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}b(); Error I am here to spoil this code None of the mentioned My favourite TV show isI am here to spoil this code Error I am here to spoil this code None of the mentioned My favourite TV show isI am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string){echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}a("Sherlock");b(); None of the mentioned I am here to spoil this code Error my favourite TV show is SherlockI am here ro spoil this code None of the mentioned I am here to spoil this code Error my favourite TV show is SherlockI am here ro spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Default Function User Defined Function Magic Function Inbuilt Function Default Function User Defined Function Magic Function Inbuilt Function 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;} ERROR Welcome to Narnia GREETING greeting ERROR Welcome to Narnia GREETING greeting ANSWER DOWNLOAD EXAMIANS APP