In PHP, how is the first element accessed if $a represents an array with numeric indices?

SQL - Online Exam Test Papers | SQL - MCQs[multiple choice questions and answers ] | SQL - Mock Test Papers | SQL - Practice Papers | SQL - Sample Test Papers |

Question:
In PHP, how is the first element accessed if $a represents an array with numeric indices?

1.$a[1]

2.$a[0]

3.$a.1

4.$a.0

Posted Date:-2021-07-18 21:16:19


More MCQS Questions and answers