PHP Functions What will be the output of the following PHP code?$op2 = "blabla";function foo($op1) {echo $op1;echo $op2;}foo("hello"); helloblablablabla hello helloblabla error helloblablablabla hello helloblabla error 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."; SaladSaladSaladSaladSalad is good for health is good for health Salad Salad is good for health is good for health SaladSaladSaladSaladSalad SaladSaladSaladSaladSalad is good for health is good for health Salad Salad 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 TV($string){echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}function b(){echo " I am here to spoil this code";}b();TV("Sherlock"); I am here to spoil this code My favourite TV show isI am here to spoil this code None of the mentioned Error I am here to spoil this code My favourite TV show isI am here to spoil this code None of the mentioned 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); Sum 49 Error 1 Sum 49 Error 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used to get the current memory usage? get_peak_usage() get_memory_usage() get_memory_peak_usage() get_usage() get_peak_usage() get_memory_usage() get_memory_peak_usage() get_usage() 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