Sail E0 Webinar
Question
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);
Options:
A .  Array ( [0] => peach [1] => pear [2] => orange )
B .  Array ( [0] => apple [1] => mango )
C .  Array ( [0] => peach )
D .  Array ( [0] => apple [1] => mango [2] => peach )
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers