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?echo str_pad("Salad", 5)." is good for health."; is good for health Salad Salad is good for health SaladSaladSaladSaladSalad is good for health is good for health SaladSaladSaladSaladSalad is good for health Salad Salad is good for health SaladSaladSaladSaladSalad is good for health is good for health SaladSaladSaladSaladSalad ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to my India"); Welcome to my india Welcome to my India welcome to my India welcome to my india Welcome to my india Welcome to my India welcome to my India welcome to my india ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... sometimes left to right and sometimes right to left left to right Always right to left right to left sometimes left to right and sometimes right to left left to right Always right to left right to left ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function _func(){echo "Hello World";}_func(); None of the mentioned ERROR No Output Hello World None of the mentioned ERROR No Output Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function movie($int){$movies = array("Fight Club", "Kill Bill", "Pulp Fiction");echo "You Do Not Talk About ". $movie[$integer];}movie(0); None of the mentioned You Do Not Talk About Pulp Fiction You Do Not Talk About Fight Club I None of the mentioned You Do Not Talk About Pulp Fiction You Do Not Talk About Fight Club I ANSWER DOWNLOAD EXAMIANS APP