LinkedIn PHP Skill Quiz Assessment Answers

The php not operator is !. Given the snippet, is there an out put and what is it?

Latest Update on 30th November, 2021 by Certification Course Answers

The php not operator is !. Given the snippet, is there an out put and what is it?

  1. there is an output ‘2 is an even number
  2. output ’21 is an odd number’
  3. no output. Syntax error do to missing semicolon at the end
  4. no output due to % in $num%2!=0

Correct Answer:

  • output ’21 is an odd number’

Latest Updates

No posts found in this category.