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 Default Argument Value Call By Value Type Hinting Call By Reference Default Argument Value Call By Value 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; 0 84 Error 42 0 84 Error 42 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip() compress() gzcompress() zip_compress() zip() compress() gzcompress() zip_compress() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); I am awesome!! const const, I am awesome!! “const”,”I am awesome!” I am awesome!! const const, I am awesome!! “const”,”I am awesome!” 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 . . . . returns a new DateTime object. getdate() date_create() date_sunrise() date() getdate() date_create() date_sunrise() date() ANSWER DOWNLOAD EXAMIANS APP