Arrays can have associative indices in PHP.
(a) True
(b) False
The 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
(a) True
(b) False
The 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
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.