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 Salad is good for health SaladSaladSaladSaladSalad is good for health is good for health SaladSaladSaladSaladSalad is good for health Salad Salad is good for health SaladSaladSaladSaladSalad is good for health is good for health SaladSaladSaladSaladSalad ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); I am b I am bI am a Error I am a Error I am b I am bI am a Error I am a Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); Error Sum 49 1 Error Sum 49 1 ANSWER DOWNLOAD EXAMIANS APP
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 ?function time($string){echo strtr("Towe Pa55", "ow5", $string);}time("ims"); Time Pa55 Time Pass Towe Pa55 Towe Pass Time Pa55 Time Pass Towe Pa55 Towe Pass ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}b();a(); Error I am bI am a I am b I am a Error Error I am bI am a I am b I am a Error ANSWER DOWNLOAD EXAMIANS APP