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 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 b is executedb is executedb is executed 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;} GREETING ERROR Welcome to Narnia greeting GREETING ERROR Welcome to Narnia greeting 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); 49 Sum Error 1 49 Sum Error 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = addslashes('What does "yolo" mean?');echo($str); What does /”yolo/” mean? What does ”yolo” mean? What does ”yolo” mean? What does ”yolo” mean? What does /”yolo/” mean? What does ”yolo” mean? What does ”yolo” mean? What does ”yolo” mean? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I love all Country i love all Country I love all country I Love All Country I love all Country i love all Country I love all country I Love All Country 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 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 is good for health Salad ANSWER DOWNLOAD EXAMIANS APP