PHP supports eight primitive data types.
- TRUE
- FALSE
This statement is true. PHP supports eight primitive data types: integer, float, string, boolean, null, array, object, and resource. These data types are the building blocks for storing and manipulating data in PHP. Each data type has its own characteristics and uses. Learn more: https://www.php.net/manual/en/language.types.intro.php
Loading...
Related Quiz
- To connect to a MySQL database in PHP, you can use the mysqli_connect function like $conn = mysqli_connect(______, _______, _______, ______);.
- If you try to use a foreach loop on a non-array variable in PHP, it will result in a ______.
- What is the purpose of the file_exists() function in PHP?
- How can you get the current date and time in PHP?
- You need to close a file in your PHP script after you're done with it. How would you do this?