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
Loading...
Related Quiz
- What are the FTP functions in PHP used for?
- What is the actually used PHP version?
- The do...while loop in PHP will not execute its block of code if the condition is initially false.
- What is the difference between Exception::getMessage and Exception::getLine?
- PHP can be used to develop static web pages.