The keys in a PHP associative array are always numeric.

  • TRUE
  • FALSE
False. The keys in a PHP associative array can be both strings and integers. In an associative array, you can explicitly assign string or integer keys to associate specific values. These keys act as identifiers for accessing the corresponding values in the array. Associative arrays provide flexibility in organizing and retrieving data based on meaningful labels or identifiers. Learn more: https://www.php.net/manual/en/language.types.array.php#language.types.array.syntax
Add your answer
Loading...

Leave a comment

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