Multiple choice technology web 2.0

Which one is a construct?

  1. echo

  2. printf

  3. print

  4. display

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In PHP, 'print' is a language construct that behaves like a function but doesn't require parentheses. It always returns 1, making it usable in expressions. 'echo' is also a construct but cannot be used in expressions. 'printf' is a true function that requires parentheses.