A

Admin • 833K Points
Coach

Q. If $a represents an array with numeric indices in PHP, the first element accessed by . . . . . . . .

  • (A) $a[1]
  • (B) $a[0]
  • (C) $a.1
  • (D) $a.0
  • Correct Answer - Option(B)
  • Views: 35
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

This question is about how we access elements in an array in PHP. Arrays are like containers that hold multiple values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.