PHP Regular Expressions Which one of the following functions will convert a string to all uppercase? strtoupper() uppercase() struppercase() str_uppercase() strtoupper() uppercase() struppercase() str_uppercase() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions is used to search a string? preg_find preg_match preg_found preg_search preg_find preg_match preg_found preg_search ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions POSIX stands for Portable Operating System Interface for Linux Portative Operating System Interface for Linux Portable Operating System Interface for Unix Portative Operating System Interface for Unix Portable Operating System Interface for Linux Portative Operating System Interface for Linux Portable Operating System Interface for Unix Portative Operating System Interface for Unix ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$str = "Hello! My name is Cameron Fox. Coffee?";$find = array('/is/','/coffee/');$replace = array('/was/','/tea/');echo preg_replace ($find, $replace, $str); Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. Coffee? Hello! My name was Cameron Fox. tea? Hello! My name is Cameron Fox. Coffee? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. Coffee? Hello! My name was Cameron Fox. tea? Hello! My name is Cameron Fox. Coffee? ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching strings using POSIX style regular expression? 10 9 8 7 10 9 8 7 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$username = "jasoN";if (ereg("([^a-z])",$username))echo "Username must be all lowercase!";elseecho "Username is all lowercase!"; Error No Output is returned Username must be all lowercase! Username is all lowercase! Error No Output is returned Username must be all lowercase! Username is all lowercase! ANSWER DOWNLOAD EXAMIANS APP