PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); Hello World Hell 0 Wo rld World HelloWorld Hello World Hell 0 Wo rld World HelloWorld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo str_pad("Salad", 5)." is good for health."; SaladSaladSaladSaladSalad is good for health is good for health Salad Salad is good for health is good for health SaladSaladSaladSaladSalad SaladSaladSaladSaladSalad is good for health is good for health Salad Salad is good for health is good for health SaladSaladSaladSaladSalad ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip_compress() gzcompress() zip() compress() zip_compress() gzcompress() zip() compress() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Type Hinting Default Argument Value Call By Reference Call By Value Type Hinting Default Argument Value Call By Reference Call By Value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to build a function that accepts any number of arguments? func_get_argv() get_argv() get_argc() func_get_argc() func_get_argv() get_argv() get_argc() func_get_argc() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function time($string){echo strtr("Towe Pa55", "ow5", $string);}time("ims"); Time Pass Towe Pa55 Time Pa55 Towe Pass Time Pass Towe Pa55 Time Pa55 Towe Pass ANSWER DOWNLOAD EXAMIANS APP