What does this function do:


  1. tests whether $variable is a number and ends in 2

  2. tests whether $variable ends in 2

  3. tests whether $variable is a number and contains 2

  4. tests whether $variable is an even number


Correct Option: D

Find more quizzes: