1--TEST--
2strrchr() tests
3--FILE--
4<?php
5
6var_dump(strrchr("", ""));
7var_dump(strrchr("abc", ""));
8var_dump(strrchr("", "abc"));
9var_dump(strrchr("abc", "abc"));
10var_dump(strrchr("test ".chr(0)." test", " "));
11var_dump(strrchr("test".chr(0)."string", "t"));
12
13echo "Done\n";
14?>
15--EXPECT--
16bool(false)
17bool(false)
18bool(false)
19string(3) "abc"
20string(5) " test"
21string(5) "tring"
22Done
23