PHP Arrays What array will you get if you convert an object to an array? An array with keys of that object as the array's elements An array with properties of that array as the object's elements An array with properties of that object as the array's elements An array with properties of that object as the Key elements An array with keys of that object as the array's elements An array with properties of that array as the object's elements An array with properties of that object as the array's elements An array with properties of that object as the Key elements ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$fruits = array ("apple", "mango", "peach", "pear", "orange");$subset = array_slice ($fruits, 2);print_r ($subset); Array ( [0] => peach [1] => pear [2] => orange ) Array ( [0] => apple [1] => mango ) Array ( [0] => peach ) Array ( [0] => apple [1] => mango [2] => peach ) Array ( [0] => peach [1] => pear [2] => orange ) Array ( [0] => apple [1] => mango ) Array ( [0] => peach ) Array ( [0] => apple [1] => mango [2] => peach ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$a = array("red", "green", "blue");array_pop($a);print_r($a); Array ( [0] => green [1] => blue ) Array ( [0] => blue [1] => blue ) Array ( [0] => red [1] => blue ) Array ( [0] => red [1] => green ) Array ( [0] => green [1] => blue ) Array ( [0] => blue [1] => blue ) Array ( [0] => red [1] => blue ) Array ( [0] => red [1] => green ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which function can be used to move the pointer to the previous array position? last() before() prev() previous() last() before() prev() previous() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Array values are keyed by ______ values (called indexed arrays) or using ______ values (called associative arrays). Of course, these key methods can be combined as well. Positive number, negative number Even number, string Float, string String, Boolean Integer, string Positive number, negative number Even number, string Float, string String, Boolean Integer, string ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$fruits = array ("apple", "orange", "banana");echo (next($fruits));echo (next($fruits)); appleapple orangebanana orangeorange appleorange appleapple orangebanana orangeorange appleorange ANSWER DOWNLOAD EXAMIANS APP