PHP Functions What will be the output of the following PHP code ?function uppercase($string) {echo ucwords($string);}$wow = "uppercase";$wow("Time to live king size"); Time to live king size Time To Live King Size TIME TO LIVE KING SIZE Uppercase Time to live king size Time To Live King Size TIME TO LIVE KING SIZE Uppercase ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used to get the current memory usage? get_memory_peak_usage() get_peak_usage() get_usage() get_memory_usage() get_memory_peak_usage() get_peak_usage() get_usage() get_memory_usage() 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."); 2 None of the mentioned 5 4 2 None of the mentioned 5 4 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;} greeting Welcome to Narnia GREETING ERROR greeting Welcome to Narnia GREETING ERROR 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); 5 3 None of the mentioned $num 5 3 None of the mentioned $num ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Type Hinting Default Argument Value Call By Value Call By Reference Type Hinting Default Argument Value Call By Value Call By Reference ANSWER DOWNLOAD EXAMIANS APP