PHP Functions Which of the following PHP functions can be used to get the current memory usage? get_peak_usage() get_memory_peak_usage() get_usage() get_memory_usage() get_peak_usage() get_memory_peak_usage() get_usage() get_memory_usage() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function _func(){echo "Hello World";}_func(); None of the mentioned ERROR No Output Hello World None of the mentioned ERROR No Output Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;return $total; }$result = calc(42, 0);echo $result; 42 84 Error 0 42 84 Error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Objects Both A & B None of above Arrays Objects Both A & B None of above Arrays ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); $msg Will this work Error 0 $msg Will this work Error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function do($myString) {echo strpos($myString, "donkey",0);}do("The donkey looks like a horse."); 4 None of the mentioned 2 5 4 None of the mentioned 2 5 ANSWER DOWNLOAD EXAMIANS APP