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 . . . . returns a new DateTime object. date_create() getdate() date() date_sunrise() date_create() getdate() date() date_sunrise() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. False True False True 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 Value Type Hinting Call By Reference Default Argument Value Call By Value Type Hinting Call By Reference ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); $msg Will this work Error 0 $msg Will this work Error 0 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(); a is executed b is executeda is executedb is executed b is executeda is executed b is executedb is executedb is executed a is executed b is executeda is executedb is executed b is executeda is executed b is executedb is executedb is executed ANSWER DOWNLOAD EXAMIANS APP