Consider the following piece of code which somehow returns false
:
<?php var_dump(stripos("foo", "")); ?>
It returns bool(false)
, not int(0)
on PHP 7.4.
I thought every string contained the empty string.
So what is the cause of this behavior?