Which of the following PHP data types can hold multiple values?
- int
- boolean
- array
- None of the above
The array data type in PHP can hold multiple values. Arrays are used to store collections of values, and they can hold elements of different data types. An array allows you to organize and access multiple values using keys or indexes. Learn more: https://www.php.net/manual/en/language.types.array.php
Loading...
Related Quiz
- On which of the following operating systems can PHP be installed?
- You are writing a PHP script and you need to make a form field required. How would you do this?
- You want to embed PHP code within your HTML. How would you do this?
- How do you define an interface in PHP?
- You have a loop in your PHP script and you want to skip the rest of the current iteration and move on to the next one if a certain condition is met. How would you do this using continue?