I am trying to find whether a string contains a certain text or not using strstr()
$t = "http://site.com/image/d2737cda28cb420c972f7a0ce856cf22";
var_dump(strstr('/image/', $t));
exit;
But this gives false
. Why is it giving fasle? How to fix it?