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. Coffee? Hello! My name was Cameron Fox. tea? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. Coffee? Hello! My name is Cameron Fox. Coffee? Hello! My name was Cameron Fox. tea? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. Coffee? 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!"; Username is all lowercase! Error Username must be all lowercase! No Output is returned Username is all lowercase! Error Username must be all lowercase! No Output is returned ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions POSIX implementation was deprecated in which version of PHP? PHP 5 PHP 4 PHP 5.2 PHP 5.3 PHP 5 PHP 4 PHP 5.2 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions. 10 8 9 7 10 8 9 7 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions POSIX stands for Portative Operating System Interface for Linux Portative Operating System Interface for Unix Portable Operating System Interface for Linux Portable Operating System Interface for Unix Portative Operating System Interface for Linux Portative Operating System Interface for Unix Portable Operating System Interface for Linux Portable Operating System Interface for Unix ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following regular expression matches any string containing zero or one p? p* p+ p# P? p* p+ p# P? ANSWER DOWNLOAD EXAMIANS APP