You can use numerical keys in an associative array in PHP.

  • TRUE
  • FALSE
True. In a PHP associative array, you can use numerical keys, along with string keys, to associate specific values. While string keys are commonly used for associative arrays, numerical keys can also be employed when they are suitable for organizing and accessing the elements in the array. The keys in an associative array provide flexibility in data retrieval and allow for a variety of use cases in PHP programming. 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 *