PHP Arrays Which function can be used to move the pointer to the previous array position? prev() before() previous() last() prev() before() previous() last() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Assume you would like to sort an array in ascending order by value while preserving key associations. Which of the following PHP sorting functions would you use? ksort() asort() krsort() sort() usort() ksort() asort() krsort() sort() usort() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$cars = array("Volvo", "BMW", "Toyota");echo "I like " . $cars[2] . ", " . $cars[1] . " and " . $cars[0] . "."; I like BMW, Volvo and Toyota I like Toyota, BMW and Volvo I like Volvo, Toyota and BMW I like Volvo, BMW and Toyota I like BMW, Volvo and Toyota I like Toyota, BMW and Volvo I like Volvo, Toyota and BMW I like Volvo, BMW and Toyota ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays There are three different kind of arrays: Const array, Associative array, Multidimensional array Numeric array, String array, Multidimensional array Numeric array, Associative array, Dimensional array Numeric array, Associative array, Multidimensional array Const array, Associative array, Multidimensional array Numeric array, String array, Multidimensional array Numeric array, Associative array, Dimensional array Numeric array, Associative array, Multidimensional array ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$a = array("a"=>"red", "b"=>"green", "c"=>"blue");echo array_shift($a);print_r ($a); none of the mentioned red blue green none of the mentioned red blue green ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code ?$a1 = array("a" => "red", "b" => "green", "c" => "blue", "d" => "yellow");$result = array_flip($a1);print_r($result); Array ( [a] => red [b] => green [c] => blue [d] => yellow ) Array ( [red] => red [green] => green [blue] => blue [yellow] => yellow ) Array ( [a] => a [b] => b [c] => c [d] => d ) Array ( [red] => a [green] => b [blue] => c [yellow] => d ) Array ( [a] => red [b] => green [c] => blue [d] => yellow ) Array ( [red] => red [green] => green [blue] => blue [yellow] => yellow ) Array ( [a] => a [b] => b [c] => c [d] => d ) Array ( [red] => a [green] => b [blue] => c [yellow] => d ) ANSWER DOWNLOAD EXAMIANS APP