1.

Arrays can have associative indices in PHP.(a) True(b) FalseThe question was posed to me in unit test.I would like to ask this question from General Preventative Maintenance in section Database Maintenance, Backups and Replication of MySQL

Answer»

The correct CHOICE is (a) True

The explanation is: The PHP ARRAYS can even have both numeric and associative elements. For example, $x[1] and $x[“large”] can both be the elements of the same array. $x can be an object, whose elements are ACCESSED by the arrow ‘->’ OPERATED.



Discussion

No Comment Found

Related InterviewSolutions