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

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
  • there is an output ‘2 is an even number
  • output ’21 is an odd number’
  • no output. Syntax error do to missing semicolon at the end
  • no output due to % in $num%2!=0
0/5 (0 Reviews)

Like this article?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Related Posts