PHP Functions What will be the output of the following PHP code ?function uppercase($string) {echo ucwords($string);}$wow = "uppercase";$wow("Time to live king size"); Time To Live King Size Time to live king size TIME TO LIVE KING SIZE Uppercase Time To Live King Size Time to live king size TIME TO LIVE KING SIZE Uppercase 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_argc() get_argc() func_get_argv() get_argv() func_get_argc() get_argc() func_get_argv() get_argv() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip_compress() compress() zip() gzcompress() zip_compress() compress() zip() gzcompress() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . . converts the keys of an array into values and the values into keys. array_trans() array_flip() array_flips() array_transpose() array_trans() array_flip() array_flips() array_transpose() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Output will be:$array = array(0, 1, 2);$array = array_pad($array, -6, ‘NEW’); Array ( [-1] => NEW [-2] => NEW [-3] => NEW [-4] => 0 [-5] => 1 [-6] => 2 ) Array ( [0] => NEW [1] => NEW [2] => NEW [3] => 0 [4] => 1 [5] => 2 ) Array ( [1] => NEW [2] => NEW [3] => NEW [4] => 0 [5] => 1 [6] => 2 ) Array ( [0] => NEW [-1] => NEW [-2] => NEW [-3] => 0 [-4] => 1 [-5] => 2 ) Array ( [-1] => NEW [-2] => NEW [-3] => NEW [-4] => 0 [-5] => 1 [-6] => 2 ) Array ( [0] => NEW [1] => NEW [2] => NEW [3] => 0 [4] => 1 [5] => 2 ) Array ( [1] => NEW [2] => NEW [3] => NEW [4] => 0 [5] => 1 [6] => 2 ) Array ( [0] => NEW [-1] => NEW [-2] => NEW [-3] => 0 [-4] => 1 [-5] => 2 ) ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla";function foo($op1) {echo $op1;echo $op2;}foo("hello"); helloblablablabla error helloblabla hello helloblablablabla error helloblabla hello ANSWER DOWNLOAD EXAMIANS APP