1--TEST--
2strripos() function
3--FILE--
4<?php
5	var_dump(strripos("test test string", "test"));
6	var_dump(strripos("test string sTring", "string"));
7	var_dump(strripos("test strip string strand", "str"));
8	var_dump(strripos("I am what I am and that's all what I am", "am", -3));
9	var_dump(strripos("test string", "g"));
10	var_dump(strripos("te".chr(0)."st", chr(0)));
11	var_dump(strripos("tEst", "test"));
12	var_dump(strripos("teSt", "test"));
13	var_dump(@strripos("foo", "f", 1));
14	var_dump(@strripos("", ""));
15	var_dump(@strripos("a", ""));
16	var_dump(@strripos("", "a"));
17	var_dump(@strripos("\\\\a", "\\a"));
18?>
19--EXPECT--
20int(5)
21int(12)
22int(18)
23int(12)
24int(10)
25int(2)
26int(0)
27int(0)
28bool(false)
29bool(false)
30bool(false)
31bool(false)
32int(1)
33
34