PHP Arrays
What will be the output of the following PHP code?
$fruits = array ("apple", "mango", "peach", "pear", "orange");
$subset = array_splice ($fruits, 2);
print_r ($fruits);

Array ( [0] => apple [1] => mango )
Error
Array ( [0] => apple [1] => mango [2] => peach )
Array ( [0] => pear [1] => orange )

ANSWER DOWNLOAD EXAMIANS APP

PHP Arrays
There are three different kind of arrays:

Numeric array, Associative array, Dimensional array
Const array, Associative array, Multidimensional array
Numeric array, String array, Multidimensional array
Numeric array, Associative array, Multidimensional array

ANSWER DOWNLOAD EXAMIANS APP