PHP Functions . . . . returns a new DateTime object. date() getdate() date_sunrise() date_create() date() getdate() date_sunrise() date_create() 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"); helloblablablabla error hello helloblabla helloblablablabla error hello helloblabla ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? data type functionName(parameters) { function body } function fumctionName(parameters) { function body } functionName(parameters) { function body } function { function body } data type functionName(parameters) { function body } function fumctionName(parameters) { function body } functionName(parameters) { function body } function { function body } 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 executedb is executedb is executed b is executeda is executedb is executed a is executed b is executeda is executed b is executedb is executedb is executed b is executeda is executedb is executed a is executed b is executeda is executed ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . . converts the keys of an array into values and the values into keys. array_transpose() array_flips() array_trans() array_flip() array_transpose() array_flips() array_trans() array_flip() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function addFunction($num1, $num2){$sum = $num1 + $num2;return $sum;}$return_value = addFunction(10, 20);echo "Returned value from the function : " .$return_value Returned value from the function : Returned value from the function : 30 Returned value from the function : $return_value Error Returned value from the function : Returned value from the function : 30 Returned value from the function : $return_value Error ANSWER DOWNLOAD EXAMIANS APP