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 Which one of the following functions is used to search a string? preg_search preg_match preg_found preg_find preg_search preg_match preg_found preg_find ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions will convert a string to all uppercase? strtoupper() struppercase() str_uppercase() uppercase() strtoupper() struppercase() str_uppercase() uppercase() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$foods = array("pasta", "steak", "fish", "potatoes");$food = preg_grep("/^s/", $foods);print_r($food); Array ( [3] => potatoes ) Array ( [1] => steak ) Array ( [0] => pasta [1] => steak [2] => fish [3] => potatoes ) Array ( [0] => potatoes ) Array ( [3] => potatoes ) Array ( [1] => steak ) Array ( [0] => pasta [1] => steak [2] => fish [3] => potatoes ) Array ( [0] => potatoes ) ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$line = "You like dogs. I hate dogs. We should marry."$sen = preg_split('/./', $line);print_r($sen); Error You like dogs. I hate dogs. We should marry. Array([0]=>You like dogs. I hate dogs. We should marry.) Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.) Error You like dogs. I hate dogs. We should marry. Array([0]=>You like dogs. I hate dogs. We should marry.) Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.) ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions [:alpha:] can also be specified as. [A-za-z] [A-z] [a-z] [A-Za-z0-9] [A-za-z] [A-z] [a-z] [A-Za-z0-9] ANSWER DOWNLOAD EXAMIANS APP