PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} ERROR GREETING Welcome to Narnia greeting ERROR GREETING Welcome to Narnia greeting ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo str_pad("Salad", 5)." is good for health."; is good for health Salad is good for health SaladSaladSaladSaladSalad Salad is good for health SaladSaladSaladSaladSalad is good for health is good for health Salad is good for health SaladSaladSaladSaladSalad Salad is good for health SaladSaladSaladSaladSalad is good for health ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); MCQ questons Hello World! This is PHP! welcome to india MCQ questons Hello World! This is PHP! welcome to india 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(); “const”,”I am awesome!” I am awesome!! const, I am awesome!! const “const”,”I am awesome!” I am awesome!! const, I am awesome!! const ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); None of the mentioned 3 $num 5 None of the mentioned 3 $num 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... left to right right to left sometimes left to right and sometimes right to left Always right to left left to right right to left sometimes left to right and sometimes right to left Always right to left ANSWER DOWNLOAD EXAMIANS APP