Pergunta de entrevista da empresa CarltonOne Engagement

if(!(strpos($haystack,$needle)){ } What is wrong with the code ?

Resposta da entrevista

Sigiloso

5 de nov. de 2018

It should be compared with false. i.e. strpos($haystack,$needle) == false