Beginner PHP
Q18 / 100

What is the output of var_dump(true)?

Correct! Well done.

Incorrect.

The correct answer is C) bool(true)

C

Correct Answer

bool(true)

Explanation

var_dump() outputs the type and value. For true: bool(true). It's more informative than echo or print_r.

Progress
18/100