Associative arrays in PHP use numeric keys.

  • TRUE
  • FALSE
False. In PHP, associative arrays use user-defined keys, which can be strings or numbers, instead of numeric keys. These keys are used to access the corresponding values in the array. Associative arrays provide a way to associate values with specific keys for easier retrieval and manipulation. The keys can be used to access the values in a non-sequential manner. Learn more: https://www.php.net/manual/en/language.types.array.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *