PHP Functions What will be the output of the following PHP code ?function time($string){echo strtr("Towe Pa55", "ow5", $string);}time("ims"); Towe Pa55 Towe Pass Time Pass Time Pa55 Towe Pa55 Towe Pass Time Pass Time Pa55 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? functionName(parameters) { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } function { function body } functionName(parameters) { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } function { function body } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); welcome to india Hello World! MCQ questons This is PHP! welcome to india Hello World! MCQ questons This is PHP! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "c" returns "d" returns "f" returns "cd" returns "c" returns "d" returns "f" returns "cd" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$title = "O'malley wins the heavyweight championship!";echo ucwords($title); o’malley wins the heavyweight championship! O’Malley Wins The Heavyweight Championship! O’Malley wins the heavyweight championship! O’malley Wins The Heavyweight Championship! o’malley wins the heavyweight championship! O’Malley Wins The Heavyweight Championship! O’Malley wins the heavyweight championship! O’malley Wins The Heavyweight Championship! 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_memory_usage() get_peak_usage() get_usage() get_memory_peak_usage() get_memory_usage() get_peak_usage() get_usage() ANSWER DOWNLOAD EXAMIANS APP