Computers

University

Image

PHP - Array

26
plays

8 questions

Show Answers
See Preview
  • 1. Fill in the Blank
    1 minute
    1 pt

    PHP’s numerically indexed array begin with position ___________

  • 2. Multiple Choice
    1 minute
    1 pt

    Which of the following are CORRECT ways of creating an array?


    i ) disease[0] = "covid19";

    ii) $disease[] = array("covid19");

    iii) $disease[0] = "covid19";

    iv) $disease = array("covid19");

    iii) and iv)

    Only iii)

    Only iv)

    ii) and iii)

  • 3. Multiple Choice
    30 seconds
    1 pt

    Which of the following PHP function will return true if a variable is an array or false if it is not an array?

    this_array()

    is_array()

    do_array()

    in_array()

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?