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 What will be the output of the following PHP code?echo lcfirst("welcome to India"); Welcome to india welcome to India welcome to india Welcome to India Welcome to india welcome to India welcome to india Welcome to India ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$x = 75;$y = 25;function addition(){$GLOBALS['z'] = $GLOBALS['x'] + $GLOBALS['y'];}addition();echo $z; 25 75 error 100 25 75 error 100 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Default Argument Value Call By Reference Call By Value Type Hinting Default Argument Value Call By Reference Call By Value Type Hinting ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . returns a new DateTime object. getdate() date_sunrise() date_create() date() getdate() date_sunrise() date_create() date() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am bb';}echo 'I am a';}b();a(); I am bb I am bI am a I am a Error Error I am bb I am bI am a I am a Error Error ANSWER DOWNLOAD EXAMIANS APP