PHP Functions What will be the output of the following PHP code?function one() {echo " this works";function two() {echo "this too works";}}one();two(); error this worksthis too works this works this too works this works error this worksthis too works this works this too works this works ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? id() uniqueid() md5() mdid() id() uniqueid() md5() mdid() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... Always right to left sometimes left to right and sometimes right to left left to right right to left Always right to left sometimes left to right and sometimes right to left left to right right to left 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"); helloblabla Error hello helloblablablabla helloblabla Error hello helloblablablabla 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 ( [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 ( [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 ( [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 ) 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? get_argv() get_argc() func_get_argc() func_get_argv() get_argv() get_argc() func_get_argc() func_get_argv() ANSWER DOWNLOAD EXAMIANS APP