Level 51
With this
!$item->id
you are getting boolean
you can see that with this
var_dump(!$item->id);
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
hi,
What is the deference between these 2?:
if ($item->id != $ignoreSet)
and
if (!$item->id == $ignoreSet)
merci
Please or to participate in this conversation.