Q:

What will be the output of the following PHP code?

belongs to collection: ARRAYS AND FUNCTIONS IN PHP MCQ

0

What will be the output of the following PHP code?

<?php
    $fruits = array ("apple", "orange", "banana");
    echo (next($fruits)); 
    echo (next($fruits));
    ?>

  1. orangebanana
  2. appleorange
  3. orangeorange
  4. appleapple

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).orangebanana

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

ARRAYS AND FUNCTIONS IN PHP MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which function can be used to move the pointer to ... >>
<< What will be the output of the following PHP code?...