When using strpos() to find the following, there seems to be a bug.
$url = 'https://www.example.com';
if (strpos($url,'https')>0) the result is NOT found
if (strpos($url,'https',0)>0) the result is NOT found
if (strpos($url,'ttps')>0) the result is FOUND
Why is this happening? Even though I indicate the starting position of 0, it is not finding it. Is this a bug or is there something subtle I am missing? Thanks