Pregunta de entrevista de CarltonOne Engagement

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

Respuesta de la entrevista

Anónimo

5 nov 2018

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