Frage im Vorstellungsgespräch bei CarltonOne Engagement

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

Antwort im Vorstellungsgespräch

Anonym

5. Nov. 2018

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