Which function is used to check if a variable has been declared and is not null?

PHP Easy
Select the correct answer: Single Choice

Key points

  • isset() returns false for null
  • isset() returns true for 0 or false
  • defined() is for constants only

Ready to go further?