• #dev 2017-07-27
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2017-07-27 UTC
# 14:57
Zegnat
in_array() will give false when the string isn’t there, and in this case you want to test for the false result so you need the ! (or `=== false` comparison). And then you want to do that twice and not have it exit after the first test (thus &&)