In the following code If I search for a character position without giving the offset it works(uses the default positive index, starts from 0),prints 0

```
$str = "abcdashboard";
$s = 'a';
$pos = stripos($str,$s);
if($pos !==FALSE){
    echo 'positive: character found'.$pos;
}

```

But if I use negative index, want to start the search from last it's not working.. prints nothing

```
$str = "abcdashboard";
$s = 'a';
$neg = stripos($str,$s,-1);
if($neg !==FALSE){

    echo 'negative: character found'.$neg;
    echo "<br>";
}

```

I don't get it from the following 

**offset**
If specified, search will start this number of characters counted from the beginning of the string. If the offset is negative, the search will start this number of characters counted from the end of the string.