PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); None of the mentioned $num 5 3 None of the mentioned $num 5 3 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."); None of the mentioned 5 2 4 None of the mentioned 5 2 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip_compress() compress() zip() gzcompress() zip_compress() compress() zip() gzcompress() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? id() mdid() uniqueid() md5() id() mdid() uniqueid() md5() 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 ERROR GREETING greeting Welcome to Narnia ERROR GREETING ANSWER DOWNLOAD EXAMIANS APP
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 Uppercase TIME TO LIVE KING SIZE Time to live king size Time To Live King Size Uppercase TIME TO LIVE KING SIZE ANSWER DOWNLOAD EXAMIANS APP