• Home
  • Which of the following is correct about determine the truth of any value not already of the Boolean type?
Question 1:
Which of the following is correct about determine the truth of any value not already of the Boolean type?
A. If the value is an array, it is false if it contains no other values, and it is true otherwise. For an object, containing a value means having a member variable that has been assigned a value
B. Valid resources are true (although some functions that return resources when they are successful will return FALSE when unsuccessful)
C. Don't use double as Booleans
D. All of the above

These questions are from this test. Would you like to take a practice test?

PHP Quiz 3 | Englishfreetest.com